-
Notifications
You must be signed in to change notification settings - Fork 24
/
.scalafmt.conf
70 lines (57 loc) · 1.15 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version = 3.3.1
runner.dialect = scala3
docstrings.style = Asterisk
docstrings.wrap = no
maxColumn = 100
align = none
align {
openParenCallSite = false
openParenDefnSite = false
tokens = [
"%", "%%", "%%%", ":=", "~="
]
}
assumeStandardLibraryStripMargin = true
includeCurlyBraceInSelectChains = false
continuationIndent {
callSite = 2
defnSite = 2
extendSite = 4
}
danglingParentheses.preset = true
# newlines {
# alwaysBeforeTopLevelStatements = true
# sometimesBeforeColonInMethodReturnType = true
# penalizeSingleSelectMultiArgList = false
# alwaysBeforeElseAfterCurlyIf = false
# neverInResultType = false
# }
newlines.topLevelStatementBlankLines = [
{
blanks { before = 1 }
}
]
spaces {
afterKeywordBeforeParen = true
}
binPack {
parentConstructors = true
literalArgumentLists = true
}
optIn {
breaksInsideChains = false
breakChainOnFirstMethodDot = true
configStyleArguments = true
}
runner {
optimizer {
forceConfigStyleOnOffset = 150
forceConfigStyleMinArgCount = 2
}
}
rewrite.rules = [Imports]
rewrite.imports.sort = ascii
rewrite.imports.groups = [
["aqua\\..*"]
]
#runner.dialect = scala3