Skip to content

Commit

Permalink
Correction to checking formatting (#1017)
Browse files Browse the repository at this point in the history
Pull request: #1017
  • Loading branch information
softinio authored Nov 29, 2020
1 parent da8a6e2 commit 7df6c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/2 - Configuring Mill.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ object foo extends ScalaModule with ScalafmtModule {
}
```

Now you can reformat code with `mill foo.reformat` command, or only check for misformatted files with `mill checkFormat`.
Now you can reformat code with `mill foo.reformat` command, or only check for misformatted files with `mill foo.checkFormat`.

You can also reformat your project's code globally with `mill mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources` command,
or only check the code's format with `mill mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources`.
Expand Down

0 comments on commit 7df6c0e

Please sign in to comment.