From 626c920807cb60481f95fd948137c95a8ed87273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Wro=C5=84ski?= <46607934+lwronski@users.noreply.github.com> Date: Mon, 7 Aug 2023 18:54:50 +0200 Subject: [PATCH] Update scalafmt-cli_2.13, scalafmt-core to 3.7.12 (#2335) --- .scalafmt.conf | 2 +- project/deps.sc | 2 +- website/docs/reference/cli-options.md | 2 +- website/docs/reference/scala-command/cli-options.md | 2 +- website/docs/reference/scala-command/runner-specification.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 3b9cd52a0c..53c9a9e4c7 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = "3.7.11" +version = "3.7.12" align.preset = more maxColumn = 100 diff --git a/project/deps.sc b/project/deps.sc index 0a6c06f1fe..0efaef12ae 100644 --- a/project/deps.sc +++ b/project/deps.sc @@ -145,7 +145,7 @@ object Deps { def scala3Compiler(sv: String) = ivy"org.scala-lang:scala3-compiler_3:$sv" def scalaAsync = ivy"org.scala-lang.modules::scala-async:1.0.1".exclude("*" -> "*") def scalac(sv: String) = ivy"org.scala-lang:scala-compiler:$sv" - def scalafmtCli = ivy"org.scalameta:scalafmt-cli_2.13:3.7.11" + def scalafmtCli = ivy"org.scalameta:scalafmt-cli_2.13:3.7.12" // Force using of 2.13 - is there a better way? def scalaJsEnvJsdomNodejs = ivy"org.scala-js:scalajs-env-jsdom-nodejs_2.13:1.1.0" diff --git a/website/docs/reference/cli-options.md b/website/docs/reference/cli-options.md index dc80b591e5..78779522e1 100644 --- a/website/docs/reference/cli-options.md +++ b/website/docs/reference/cli-options.md @@ -418,7 +418,7 @@ Pass a global dialect for scalafmt. This overrides whatever value is configured Aliases: `--fmt-version` -Pass scalafmt version before running it (3.7.11 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. +Pass scalafmt version before running it (3.7.12 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 2c30ad5ede..145d6575db 100644 --- a/website/docs/reference/scala-command/cli-options.md +++ b/website/docs/reference/scala-command/cli-options.md @@ -370,7 +370,7 @@ Aliases: `--fmt-version` `IMPLEMENTATION specific` per Scala Runner specification -Pass scalafmt version before running it (3.7.11 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. +Pass scalafmt version before running it (3.7.12 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 aa3a7ccf1d..66993e784e 100644 --- a/website/docs/reference/scala-command/runner-specification.md +++ b/website/docs/reference/scala-command/runner-specification.md @@ -3597,7 +3597,7 @@ Aliases: `--dialect` **--scalafmt-version** -Pass scalafmt version before running it (3.7.11 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. +Pass scalafmt version before running it (3.7.12 by default). If passed, this overrides whatever value is configured in the .scalafmt.conf file. Aliases: `--fmt-version`