forked from Netflix/atlas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scalafmt.conf
37 lines (25 loc) · 899 Bytes
/
.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
version = 3.7.4
runner.dialect = Scala213Source3
style = defaultWithAlign
align.openParenCallSite = false
align.openParenDefnSite = false
align.tokens = [{code = "->"}, {code = "<-"}, {code = "=>", owner = "Case"}]
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
danglingParentheses.preset = true
docstrings.style = keep
indentOperator = spray
indentOperator.excludeRegex = "^(&&|\\|\\||~)$"
indentOperator.exemptScope = all
literals.hexDigits = Upper
maxColumn = 100
newlines.afterCurlyLambdaParams = keep
newlines.beforeCurlyLambdaParams = multilineWithCaseOnly
newlines.inInterpolation = oneline
newlines.topLevelBodyIfMinStatements = [before]
newlines.topLevelStatementBlankLines = [
{ blanks { before = 1, after = 0 } }
]
project.excludeFilters = [".*\\.sbt"]
rewrite.rules = [RedundantParens, ExpandImportSelectors, AvoidInfix]
spaces.inImportCurlyBraces = false