Skip to content

Commit

Permalink
Fix scalafmt config for Scala 3
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed Jan 4, 2024
1 parent 839fc3b commit ec417ae
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down

0 comments on commit ec417ae

Please sign in to comment.