description | title | layout | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
scalafmt is a linter for Scala |
Trunk | How to run scalafmt |
|
scalafmt is a linter for Scala.
You can enable the scalafmt linter with:
trunk check enable scalafmt
scalafmt 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