-
Notifications
You must be signed in to change notification settings - Fork 1
/
.scalafmt.conf
26 lines (26 loc) · 1.26 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
version = 2.3.1
align.openParenCallSite = false
align.tokens = ["%", "%%", {code = "=>", owner = "Case"}, ]
binPack.parentConstructors = false
continuationIndent.defnSite = 2
danglingParentheses = true
maxColumn = 120
newlines.afterImplicitKWInVerticalMultiline = true
newlines.beforeImplicitKWInVerticalMultiline = true
project.excludeFilters = [ .scalafmt.conf ]
project.git = true
rewrite.rules = [PreferCurlyFors, RedundantBraces, RedundantParens, SortModifiers, SortImports]
rewriteTokens {
"⇒" = "=>"
"→" = "->"
"←" = "<-"
}
spaces.inImportCurlyBraces = true
style = defaultWithAlign
unindentTopLevelOperators = true
verticalMultiline.atDefnSite = true
verticalMultiline.arityThreshold = 2
verticalMultiline.newlineBeforeImplicitKW = true
verticalMultiline.newlineAfterImplicitKW = true
verticalMultiline.newlineAfterOpenParen = true
verticalMultiline.excludeDanglingParens = []