-
Notifications
You must be signed in to change notification settings - Fork 105
/
.scalafmt.conf
46 lines (38 loc) · 985 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
43
44
45
version = 3.8.2
style = default
maxColumn = 120
runner.dialect = scala213
fileOverride {
"glob:**/metals-runner/src/**" {
runner.dialect = scala3
}
"glob:**/scalajvm-3/com.olegych.scastie.api.runtime/**" {
runner.dialect = scala3
}
}
docstrings = JavaDoc
docstrings.blankFirstLine = true
assumeStandardLibraryStripMargin = true
project.git = true
lineEndings = unix
encoding = UTF-8
importSelectors = singleLine
project.excludeFilters = [
instrumentation/src/test/resources
storage/src/test/resources
demo/
]
align.preset = more
rewrite.rules = [Imports]
rewrite.imports.sort = original
rewrite.imports.groups = [
["java\\..*", "scala\\..*"],
]
newlines.beforeMultiline = fold
newlines.topLevelStatements = [before, after]
newlines.topLevelStatementsMinBreaks = 2
newlines.implicitParamListModifierForce = [before]
continuationIndent.defnSite = 2
continuationIndent.extendSite = 2
rewrite.imports.expand = false
rewrite.trailingCommas.style = "never"