-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.scalafmt.conf
More file actions
31 lines (31 loc) · 810 Bytes
/
.scalafmt.conf
File metadata and controls
31 lines (31 loc) · 810 Bytes
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
29
30
31
version = 2.2.2
//trailingCommas = preserve
align = some #Scalafmt default
align.arrowEnumeratorGenerator = true
align.tokens = [
{code = "<-", owner = "for"},
"%",
"%%"]
align.openParenDefnSite = false #Scalafmt default
align.openParenCallSite = false
binPack.parentConstructors = false #Scalafmt default
continuationIndent.callSite = 2 #Scalafmt default
continuationIndent.defnSite = 2
danglingParentheses = true
docstrings = ScalaDoc #Scalafmt default
includeCurlyBraceInSelectChains = true #Scalafmt default
maxColumn = 120
newlines.penalizeSingleSelectMultiArgList = false #Scalafmt default
rewrite {
rules = [
redundantparens,
sortimports,
redundantbraces,
prefercurlyfors
]
redundantBraces {
maxLines = 3
stringInterpolation = true
generalExpressions = true
}
}