-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.scalafmt.conf
34 lines (34 loc) · 963 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
version = "3.8.6"
runner.dialect = Scala213Source3
maxColumn = 120
align.preset = none
align.tokens = []
rewrite.rules = [RedundantParens, 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.excludePaths = [
"glob:**/output/src/main/**"
"glob:**/sbt-test/**"
]
project.layout = StandardConvention
fileOverride {
"glob:**/rules/src/main/scala/**" {
rewrite.scala3.convertToNewSyntax = true
runner.dialectOverride.allowSignificantIndentation = false
runner.dialectOverride.allowAsForImportRename = false
runner.dialectOverride.allowStarWildcardImport = false
}
}