Code formatter for Scala. Configurations are stored in the
.scalafmt.conffile. More information: https://scalameta.org/scalafmt.
.scala files in the current directory recursively:scalafmt
scalafmt --config {{path/to/.scalafmt.conf}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
0 if all files respect the formatting style:scalafmt --config {{path/to/.scalafmt.conf}} --test
scalafmt --exclude {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
scalafmt --config {{path/to/.scalafmt.conf}} --mode diff