Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 892 Bytes

File metadata and controls

32 lines (20 loc) · 892 Bytes
title Trunk | How to run scalafmt
description scalafmt is a linter for Scala

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