forked from alexarchambault/case-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
42 lines (36 loc) · 807 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.3"
align.preset = more
maxColumn = 100
assumeStandardLibraryStripMargin = true
indent.defnSite = 2
indentOperator.topLevelOnly = false
align.preset = more
align.openParenCallSite = false
newlines.source = keep
newlines.beforeMultiline = keep
newlines.afterCurlyLambdaParams = keep
newlines.alwaysBeforeElseAfterCurlyIf = true
runner.dialect = scala3
rewrite.rules = [
RedundantBraces
RedundantParens
SortModifiers
]
rewrite.redundantBraces {
ifElseExpressions = true
includeUnitMethods = false
stringInterpolation = true
}
rewrite.sortModifiers.order = [
"private", "final", "override", "protected",
"implicit", "sealed", "abstract", "lazy"
]
project.excludeFilters = [
".metals"
"target"
]
fileOverride {
"glob:**/scala-2/**" {
runner.dialect = scala213
}
}