scalafmt

Code formatter for Scala. Configurations are stored in the .scalafmt.conf file. More information: https://scalameta.org/scalafmt.

scalafmt

scalafmt --config path/to/.scalafmt.conf path/to/file_or_directory path/to/file_or_directory ...

scalafmt --config path/to/.scalafmt.conf --test

scalafmt --exclude path/to/file_or_directory ...

scalafmt --config path/to/.scalafmt.conf --mode diff