-
Notifications
You must be signed in to change notification settings - Fork 2
/
.scalafmt.conf
57 lines (43 loc) · 1.35 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
version = 2.7.5
project.git = true
lineEndings=preserve
maxColumn = 120
assumeStandardLibraryStripMargin = true
align.stripMargin = true
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
continuationIndent.ctorSite = 2
continuationIndent.extendSite = 4
continuationIndent.withSiteRelativeToExtends = 4
indentOperator.topLevelOnly = false
align.preset=most
align.tokens = [
{code = "=>", owner = "Case"},
{code = "%", owner = "Term.ApplyInfix"},
{code = "%%", owner = "Term.ApplyInfix"}
]
align.arrowEnumeratorGenerator = true
align.openParenCallSite = false
align.openParenDefnSite = false
align.multiline = true
danglingParentheses.defnSite = true
danglingParentheses.callSite = true
danglingParentheses.ctrlSite = true
newlines.alwaysBeforeElseAfterCurlyIf = false
newlines.beforeCurlyLambdaParams = multiline
newlines.afterCurlyLambdaParams = squash
newlines.implicitParamListModifierForce = [after]
newlines.avoidInResultType = true
rewrite.rules = [SortModifiers]
rewrite.sortModifiers.order = [
"implicit", "final", "sealed", "abstract",
"override", "private", "protected", "lazy"
]
rewrite.rules = [AsciiSortImports]
docstrings.style = Asterisk
docstrings.oneline = unfold
docstrings.wrap = yes
spaces.beforeContextBoundColon=Never
spaces.inImportCurlyBraces=false
spaces.inParentheses=false
binPack.literalArgumentLists = true