Skip to content

Commit

Permalink
scalafmt 3.7.9 and update config
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Jul 16, 2023
1 parent af6eb86 commit abe3db1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.7.8"
version = "3.7.9"
runner.dialect = scala3

align.preset = more
Expand All @@ -9,3 +9,12 @@ rewrite.redundantBraces.stringInterpolation = true

rewrite.scala3.convertToNewSyntax = yes
rewrite.scala3.removeOptionalBraces = yes

fileOverride {
"glob:**/build.sbt" {
runner.dialect = scala213
}
"glob:**/project/**" {
runner.dialect = scala213
}
}

0 comments on commit abe3db1

Please sign in to comment.