-
Notifications
You must be signed in to change notification settings - Fork 5
/
.scalafmt.conf
42 lines (34 loc) · 940 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
40
41
42
version ="3.7.11"
runner.dialect = scala213
maxColumn = 120
assumeStandardLibraryStripMargin = true
align.stripMargin = true
align.preset = most
align.arrowEnumeratorGenerator = false
align.multiline = false
newlines.afterCurlyLambda = preserve
newlines.alwaysBeforeMultilineDef = false
newlines.implicitParamListModifierPrefer = before
newlines.penalizeSingleSelectMultiArgList = false
newlines.beforeTypeBounds = fold
newlines.topLevelStatementBlankLines = [
{
regex = "Import"
blanks = 1
maxNest = 0
}
]
binPack.parentConstructors = true
includeCurlyBraceInSelectChains = false
trailingCommas = always
rewrite.rules = [Imports]
rewrite.imports.sort = ascii
rewrite.imports.groups = [["^scala\\..*$", "^javax?\\..*"], ["^phobos\\..*$"]]
fileOverride {
"glob:**/modules/core/src/test/scala-3/**" {
runner.dialect = scala3
}
"glob:**/modules/core/src/main/scala-3/**" {
runner.dialect = scala3
}
}