-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scalafmt.conf
31 lines (31 loc) · 958 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
version = "3.0.5"
runner.dialect = scala3
fileOverride {
"glob:**/template-scala-sbt/src/main/scala/**" {
runner.dialect = scala3
},
"glob:**/template-scala-sbt/src/test/scala/**" {
runner.dialect = scala3
}
}
style = defaultWithAlign
align.openParenCallSite = false
align.openParenDefnSite = false
align.tokens = [
{code = "->"}, {code = "<-"}, {code = "<->"}, {code = "=>", owner = "Case"},
{code = "%", owner = "Term.ApplyInfix"}, {code = "%%", owner = "Term.ApplyInfix"}
]
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
danglingParentheses.preset = true
indentOperator.preset = spray
includeCurlyBraceInSelectChains = false
includeNoParensInSelectChains = false
maxColumn = 120
project.excludeFilters = [".*\\.sbt"]
rewrite.rules = [RedundantParens]
spaces.inImportCurlyBraces = true
spaces.inByNameTypes = true
spaces.afterSymbolicDefs = true
spaces.beforeContextBoundColon = Always
unindentTopLevelOperators = true