From 7d00105561f25e3cd489617442edc9b983888c8a Mon Sep 17 00:00:00 2001 From: Mark Tomko Date: Thu, 22 Feb 2024 09:46:49 -0800 Subject: [PATCH] Workaround for scalafmt issue See https://github.com/scalameta/scalafmt/issues/3787 --- .scalafmt.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.scalafmt.conf b/.scalafmt.conf index 590bc10..afac328 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,6 +1,13 @@ # PoolQ3 .scalafmt configuration version=3.8.0 runner.dialect = scala3 + +# work around https://github.com/scalameta/scalafmt/issues/3787 +fileOverride { + "glob:**.sbt" { + runner.dialect = sbt1 + } +} style = IntelliJ maxColumn = 120