Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.04 KB

scalafmt.md

File metadata and controls

45 lines (31 loc) · 1.04 KB
description title layout
scalafmt is a linter for Scala
Trunk | How to run scalafmt
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

scalafmt

scalafmt is a linter for Scala.

You can enable the scalafmt linter with:

trunk check enable scalafmt

Auto Enabling

scalafmt will be auto-enabled if a .scalafmt.conf config file is present.

Settings

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.

Links