diff --git a/.scalafmt.conf b/.scalafmt.conf index 52fc3c8399..20db8812b3 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = "3.10.7" +version = "3.11.0" align.preset = more maxColumn = 100 diff --git a/project/deps/package.mill b/project/deps/package.mill index 311cc1d8b7..5ced497922 100644 --- a/project/deps/package.mill +++ b/project/deps/package.mill @@ -132,7 +132,7 @@ object Deps { def jsoniterScala = "2.38.8" def jsoup = "1.22.1" def scalaMeta = "4.15.2" - def scalafmt = "3.10.7" + def scalafmt = "3.11.0" def scalaNative04 = "0.4.17" def scalaNative05 = "0.5.10" def scalaNative = scalaNative05 diff --git a/website/docs/reference/cli-options.md b/website/docs/reference/cli-options.md index fa7cae7702..04eed6801c 100644 --- a/website/docs/reference/cli-options.md +++ b/website/docs/reference/cli-options.md @@ -505,7 +505,7 @@ Pass a global dialect for scalafmt. This overrides whatever value is configured Aliases: `--fmt-version` -Pass scalafmt version before running it (3.10.7 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. +Pass scalafmt version before running it (3.11.0 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. ## Global suppress warning options diff --git a/website/docs/reference/scala-command/cli-options.md b/website/docs/reference/scala-command/cli-options.md index 88d7a60235..4927872a08 100644 --- a/website/docs/reference/scala-command/cli-options.md +++ b/website/docs/reference/scala-command/cli-options.md @@ -390,7 +390,7 @@ Aliases: `--fmt-version` `IMPLEMENTATION specific` per Scala Runner specification -Pass scalafmt version before running it (3.10.7 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. +Pass scalafmt version before running it (3.11.0 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. ## Global suppress warning options diff --git a/website/docs/reference/scala-command/runner-specification.md b/website/docs/reference/scala-command/runner-specification.md index 58a9462945..dc4c04ae16 100644 --- a/website/docs/reference/scala-command/runner-specification.md +++ b/website/docs/reference/scala-command/runner-specification.md @@ -4058,7 +4058,7 @@ Aliases: `--dialect` **--scalafmt-version** -Pass scalafmt version before running it (3.10.7 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. +Pass scalafmt version before running it (3.11.0 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. Aliases: `--fmt-version`