-
Notifications
You must be signed in to change notification settings - Fork 113
/
.scalafmt.conf
33 lines (33 loc) · 765 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
version = "3.8.3"
runner.dialect = Scala213
maxColumn = 120
align.preset = none
align.tokens = []
rewrite.rules = [
ExpandImportSelectors
PreferCurlyFors
]
rewrite.imports.contiguousGroups = "no"
rewrite.imports.groups = [[".*"]]
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
docstrings.style = keep
includeCurlyBraceInSelectChains = false
optIn.breakChainOnFirstMethodDot = false
trailingCommas = preserve
newlines.topLevelStatementBlankLines = [
{
blanks { after = 1 }
maxNest = 1
regex = "Import"
}
]
project.layout = StandardConvention
project.excludeFilters = [
"sbt-plugin/src/sbt-test/wartremover/basic/src/main/scala-3/Test1.scala"
]
fileOverride {
"glob:**/src/**/scala-3.*/**" {
runner.dialect = scala3
}
}