From ec417ae714b91636518524dbbb74d7c4754da486 Mon Sep 17 00:00:00 2001 From: geirolz Date: Thu, 4 Jan 2024 16:13:00 +0100 Subject: [PATCH] Fix scalafmt config for Scala 3 --- .scalafmt.conf | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 2e440bd..e66078a 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,10 +1,17 @@ version = 3.7.17 encoding = "UTF-8" runner.dialect = "scala213source3" -maxColumn = 100 +fileOverride { + "glob:**/core/src/main/scala-3/**" { + runner.dialect = scala3 + } + "glob:**/core/src/test/scala-3/**" { + runner.dialect = scala3 + } +} project.git = true - +maxColumn = 100 align.openParenCallSite = false align.openParenDefnSite = false align.tokens = [