Skip to content

Commit

Permalink
Merge pull request #659 from mpilquist/topic/scalafmt
Browse files Browse the repository at this point in the history
Adopt Scalafmt
  • Loading branch information
mpilquist committed Nov 20, 2022
2 parents 8fbbd8f + a84bbf8 commit c9f3f94
Show file tree
Hide file tree
Showing 49 changed files with 1,212 additions and 1,024 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Scalafmt
c4ea0b82c184bb52fee68e211342410aeed0c673

25 changes: 23 additions & 2 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
version = "3.6.1"
runner.dialect = Scala213Source3
project.includePaths = [] # disables formatting

style = default

runner.dialect = scala213source3

fileOverride {
"glob:**/scala-3/**" {
runner.dialect = scala3
}
}

docstrings.wrap = "no"

maxColumn = 100

rewrite.rules = [
AvoidInfix
RedundantBraces
RedundantParens
Imports
PreferCurlyFors
]

Loading

0 comments on commit c9f3f94

Please sign in to comment.