-
Notifications
You must be signed in to change notification settings - Fork 4
/
.scalafmt.conf
39 lines (39 loc) · 915 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
38
39
version = "3.8.3"
runner.dialect = scala3
fileOverride {
"glob:**/benchmark_2_11/**" {
runner.dialect = scala211
rewrite.trailingCommas.style = never
}
"glob:**/benchmark_2_13/**" {
runner.dialect = scala213
}
}
align.preset = more
align.tokens."+" = [
{
code = "="
owners = [
{
regex = "Term\\.Assign",
parent = ["Term\\.Apply"]
}
]
}
]
assumeStandardLibraryStripMargin = true
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
danglingParentheses.callSite = true
danglingParentheses.defnSite = true
danglingParentheses.tupleSite = true
includeNoParensInSelectChains = true
indent.caseSite = 2
indent.defnSite = 2
indent.extendSite = 4
indent.main = 2
maxColumn = 80
project.git = true
rewrite.rules = [Imports, RedundantBraces, RedundantParens, SortModifiers]
rewrite.trailingCommas.style = always
rewrite.redundantBraces.maxBreaks = 1