generated from pervasive-cats/toys-store-bc-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
59 lines (59 loc) · 1.16 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
maxColumn = 130
assumeStandardLibraryStripMargin = true
version = 3.6.1
runner.dialect = scala3
indent {
defnSite = 2
matchSite = 2
caseSite = 5
extendSite = 2
commaSiteRelativeToExtends = 8
relativeToLhsLastLine = [match, infix]
}
indentOperator {
exemptScope = all
excludeRegex = "^.*$"
}
align {
preset = none
stripMargin = true
multiline = true
}
newlines {
topLevelStatementBlankLines = [
{
maxNest = 0,
minBreaks = 0,
blanks.before = 1
}
{
minBreaks = 1
blanks.before = 1
}
]
beforeCurlyLambdaParams = multilineWithCaseOnly
inInterpolation = oneline
implicitParamListModifierForce = [before, after]
}
danglingParentheses.exclude = []
rewrite {
rules = [
RedundantParens
SortModifiers
PreferCurlyFors
]
}
verticalMultiline {
newlineAfterOpenParen = true
atDefnSite = true
}
docstrings.removeEmpty = true
literals.hexDigits = Upper
includeNoParensInSelectChains = true
optIn.encloseClassicChains = true
rewriteTokens = {
"⇒": "=>"
"→": "->"
"←": "<-"
}
lineEndings = unix