-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scalafmt.conf
executable file
·59 lines (44 loc) · 1.62 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
version = 3.3.0
runner.dialect = scala3
indent.main = 2
indent.defnSite = 4
maxColumn = 100
indent.caseSite = 5
indentOperator.topLevelOnly = true
align.preset = some
align.arrowEnumeratorGenerator = true
align.tokens = [{code = "=>", owner = "Case"}, "%", "%%", "<-", "->", ":=", "++=", "=", "->>"]
align.openParenCallSite = true
align.openParenDefnSite = false
#danglingParentheses.callSite = false
danglingParentheses.defnSite = false
danglingParentheses.callSite = false
danglingParentheses.exclude = [extension]
newlines.avoidForSimpleOverflow = [tooLong, punct, slc]
newlines.alwaysBeforeElseAfterCurlyIf = false
newlines.beforeMultilineDef = keep
newlines.topLevelStatements = [before]
newlines.beforeCurlyLambdaParams = multilineWithCaseOnly
newlines.afterCurlyLambdaParams = squash
newlines.implicitParamListModifierForce = [after]
newlines.avoidInResultType = true
newlines.sometimesBeforeColonInMethodReturnType = false
verticalMultiline.atDefnSite = true
verticalMultiline.arityThreshold = 10
spaces.inImportCurlyBraces = true
spaces.beforeContextBoundColon=Never
includeCurlyBraceInSelectChains = false
includeNoParensInSelectChains = false
optIn.breakChainOnFirstMethodDot = true
optIn.configStyleArguments = true
runner.optimizer.forceConfigStyleMinArgCount = 5
includeNoParensInSelectChains = true
rewrite.rules = [RedundantBraces]
rewrite.rules = [SortImports]
rewrite.redundantBraces.stringInterpolation = true
rewrite.redundantBraces.ifElseExpressions = true
rewrite.redundantBraces.parensForOneLineApply = true
docstrings.style = Asterisk
literals.long=Upper
literals.float=Upper
literals.double=Upper