forked from Pometry/Raphtory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
46 lines (37 loc) · 913 Bytes
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version = 2.6.3
align = most
style = defaultWithAlign
maxColumn = 100
continuationIndent.callSite = 8
continuationIndent.extendSite = 8
assumeStandardLibraryStripMargin = true
binPackImportSelectors = true
optIn {
breaksInsideChains = false
breakChainOnFirstMethodDot = true
configStyleArguments = true
}
newlines {
alwaysBeforeElseAfterCurlyIf = true
alwaysBeforeTopLevelStatements = true
alwaysBeforeCurlyBraceLambdaParams = false
sometimesBeforeColonInMethodReturnType = true
neverInResultType = false
penalizeSingleSelectMultiArgList = false
}
docstrings = ScalaDoc
rewrite {
rules = [
ExpandImportSelectors,
RedundantBraces,
RedundantParens,
SortModifiers,
PreferCurlyFors
]
redundantBraces {
maxLines = 100
includeUnitMethods = true
stringInterpolation = true
generalExpressions = true
}
}