From 7df6c0e9b547bc4eebbaeae6ed89504c40b6afe0 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sun, 29 Nov 2020 11:12:04 -0800 Subject: [PATCH] Correction to checking formatting (#1017) Pull request: https://github.com/lihaoyi/mill/pull/1017 --- docs/pages/2 - Configuring Mill.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/2 - Configuring Mill.md b/docs/pages/2 - Configuring Mill.md index 143657080b9..059cb657f09 100644 --- a/docs/pages/2 - Configuring Mill.md +++ b/docs/pages/2 - Configuring Mill.md @@ -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`.