-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.scalafmt.conf
19 lines (18 loc) · 942 Bytes
/
.scalafmt.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version = "3.8.3"
runner.dialect = "scala213"
align.openParenCallSite = false
align.tokens = ["%", "%%", {code = "=>", owner = "Case"}, {code = "=", owner = "(Enumerator.Val|Defn.(Va(l|r)|Def|Type))"}, ]
align.arrowEnumeratorGenerator = true
binPack.parentConstructors = false
danglingParentheses.preset = true
maxColumn = 120
project.excludeFilters = [ .scalafmt.conf ]
project.git = true
rewrite.rules = [PreferCurlyFors, RedundantBraces, RedundantParens, SortImports]
spaces.inImportCurlyBraces = true
style = defaultWithAlign
rewriteTokens {
"⇒" = "=>"
"→" = "->"
"←" = "<-"
}