-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.scalafmt.old
96 lines (76 loc) · 1.65 KB
/
.scalafmt.old
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version=3.6.0
preset = default
maxColumn = 120
docstrings.style = SpaceAsterisk
// If true, the margin character | is aligned with the opening
// triple quote in interpolated and raw string literals.
assumeStandardLibraryStripMargin = true
includeCurlyBraceInSelectChains = true
includeNoParensInSelectChains = true
danglingParentheses.preset = true
runner {
dialect = scala213source3
optimizer {
forceConfigStyleOnOffset = 150
forceConfigStyleMinArgCount = 3
}
}
spaces {
inImportCurlyBraces = true
}
indent {
main = 2
defnSite = 2
callSite = 2
caseSite = 5
extendSite = 2
}
// Set to `none` setting to minimize git diffs/conflicts from
// renamings and other refactorings.
align {
preset = none
stripMargin = true
tokens = [caseArrow]
arrowEnumeratorGenerator = true
openParenTupleSite = false
openParenCallSite = false
openParenDefnSite = false
openParenCtrlSite = false
multiline = true
inInterpolation = false
}
newlines {
source = fold
alwaysBeforeElseAfterCurlyIf = false
inInterpolation = oneline
}
continuationIndent {
callSite = 2
defnSite = 2
ctorSite = 2
}
verticalMultiline {
arityThreshold = 250
newlineAfterOpenParen = false
atDefnSite = true
}
rewrite {
rules = [ExpandImportSelectors, PreferCurlyFors]
redundantBraces.stringInterpolation = true
}
optIn {
breakChainOnFirstMethodDot = true
annotationNewlines = false
configStyleArguments = true
}
// Configure which source files should be formatted in this project.
project {
git = true
includeFilters = [
".*\\.scala$"
".*\\.sbt$"
]
excludeFilters = []
}
// Miscellaneous
binPack.literalArgumentLists = false