-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scalafmt.conf
28 lines (26 loc) · 1.12 KB
/
.scalafmt.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version = "2.4.2"
edition = 2019-10
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 = true
maxColumn = 120
newlines.afterImplicitKWInVerticalMultiline = true
newlines.beforeImplicitKWInVerticalMultiline = true
project.excludeFilters = [ .scalafmt.conf ]
project.git = true
rewrite.rules = [PreferCurlyFors, RedundantParens, SortImports]
spaces.inImportCurlyBraces = false
style = defaultWithAlign
unindentTopLevelOperators = true
rewriteTokens {
"⇒" = "=>"
"→" = "->"
"←" = "<-"
}
continuationIndent {
callSite = 2
defnSite = 2
extendSite = 2
}