| title | Trunk | How to run scalafmt |
|---|---|
| description | scalafmt is a linter for Scala |
scalafmt is a linter for Scala.
You can enable the scalafmt linter with:
trunk check enable scalafmtscalafmt will be auto-enabled if a .scalafmt.conf config file is present.
scalafmt supports the following config files:
.scalafmt.conf
You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.
- scalafmt site
- scalafmt Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo