-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.scalafmt.conf
More file actions
51 lines (38 loc) · 850 Bytes
/
.scalafmt.conf
File metadata and controls
51 lines (38 loc) · 850 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version = 3.11.0
maxColumn = 120
trailingCommas = always
style = defaultWithAlign
continuationIndent {
callSite = 2
defnSite = 2
}
rewrite.rules = [
RedundantBraces, RedundantParens, SortModifiers, prefercurlyfors
]
newlines {
penalizeSingleSelectMultiArgList = false
alwaysBeforeElseAfterCurlyIf = false
beforeCurlyLambdaParams = multilineWithCaseOnly
}
runner.optimizer.forceConfigStyleMinArgCount = 1
align {
openParenDefnSite = false
openParenCallSite = false
tokenCategory {
Equals = Assign
LeftArrow = Assign
}
}
lineEndings = unix
importSelectors = noBinPack
danglingParentheses.preset = true
binPack.literalArgumentLists = true
runner.dialect = Scala213Source3
fileOverride {
"glob:**/*.sbt" {
runner.dialect = sbt1
}
"glob:**/src/{main,test}/scala-3/**" {
runner.dialect = scala3
}
}