-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.scalafmt.conf
49 lines (45 loc) · 1.45 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
version=2.4.2
align = some
assumeStandardLibraryStripMargin = true
maxColumn = 100
continuationIndent {
callSite=2
defnSite = 2
extendSite = 2
}
danglingParentheses = true
project.excludeFilters = [
src/test/scala/com/fdilke/bewl/topos/algebra,
src/main/scala/com/fdilke/bewl/topos/algebra
]
rewrite.rules = [
AvoidInfix, RedundantBraces, RedundantParens, SortImports, SortModifiers, PreferCurlyFors
]
style = defaultWithAlign
# style = IntelliJ
# unindentTopLevelOperators = true
# align.arrowEnumeratorGenerator = true
# align.openParenCallSite = false
# align.openParenDefnSite = false
# align=most
# danglingParentheses = true
# danglingParentheses.defnSite = true
# danglingParentheses.callSite = true
# assumeStandardLibraryStripMargin = true
# includeCurlyBraceInSelectChains = false
# maxColumn = 160
# continuationIndent.callSite=2
# continuationIndent.defnSite=2
# verticalMultiline = true
# verticalMultiline.arityThreshold = 0
# verticalMultiline.newlineAfterOpenParen = true
# verticalMultiline.atDefnSite = true
# newlines.alwaysBeforeTopLevelStatements = false
# newlines.penalizeSingleSelectMultiArgList = false
# optIn.breakChainOnFirstMethodDot = true
# optIn.configStyleArguments = true
# project.git = true
# rewrite.rules = [AvoidInfix, RedundantBraces, RedundantParens, SortImports, SortModifiers, PreferCurlyFors]
# runner.optimizer.forceConfigStyleOnOffset = 210
# style = IntelliJ # For pretty alignment.
# trailingCommas = never