Skip to content

Commit

Permalink
Add attributes to .scalafmt.conf files
Browse files Browse the repository at this point in the history
Per suggestions from @WojciechMazur in #1631.
  • Loading branch information
mbland committed Oct 23, 2024
1 parent 86c5264 commit baf7ed1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version = "3.8.3"
runner.dialect = scala213
align.openParenCallSite = false
align.openParenDefnSite = false
Expand All @@ -12,4 +13,5 @@ rewrite.rules = [
PreferCurlyFors,
SortImports
]
indentOperator.topLevelOnly = true
lineEndings = preserve
1 change: 1 addition & 0 deletions test/scalafmt/.scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version = "3.8.3"
runner.dialect = scala213
maxColumn = 40
lineEndings = preserve
1 change: 1 addition & 0 deletions test_cross_build/scalafmt/.scalafmt2.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version = "3.8.3"
runner.dialect = scala213
maxColumn = 40
lineEndings = preserve
1 change: 1 addition & 0 deletions test_cross_build/scalafmt/.scalafmt3.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version = "3.8.3"
runner.dialect = scala3
maxColumn = 40
lineEndings = preserve

0 comments on commit baf7ed1

Please sign in to comment.