-
Notifications
You must be signed in to change notification settings - Fork 111
/
.scalafmt.conf
56 lines (53 loc) · 1.06 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version = "2.6.2"
maxColumn = 140
project.git = true
continuationIndent.defnSite = 2
align.preset = none
align.tokens = []
align.openParenCallSite = false
align.openParenDefnSite = false
assumeStandardLibraryStripMargin = true
danglingParentheses.preset = true
newlines.alwaysBeforeCurlyBraceLambdaParams = false
newlines.afterCurlyLambda = never
newlines.alwaysBeforeMultilineDef = false
newlines.alwaysBeforeTopLevelStatements = true
newlines.penalizeSingleSelectMultiArgList = false
rewrite.rules = [
AvoidInfix,
SortImports,
PreferCurlyFors,
RedundantParens,
SortModifiers
]
rewrite.redundantBraces.stringInterpolation = true
rewrite.neverInfix.excludeFilters = [
"until",
"to",
"by",
"eq",
"ne",
"should.*",
"contain.*",
"must.*",
"in",
"ignore",
"be",
"taggedAs",
"thrownBy",
"synchronized",
"have",
"when",
"size",
"only",
"noneOf",
"oneElementOf",
"noElementsOf",
"atLeastOneElementOf",
"atMostOneElementOf",
"allElementsOf",
"inOrderElementsOf",
"theSameElementsAs",
"equal",
"theSameElementsInOrderAs"
]