-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.scalafmt.conf
More file actions
38 lines (38 loc) · 1.06 KB
/
Copy path.scalafmt.conf
File metadata and controls
38 lines (38 loc) · 1.06 KB
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
version = "3.11.5"
runner.dialect = Scala213Source3
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 = 0
regex = "Import|Class|Trait|Object"
}
]
project.excludePaths = [
"glob:**/output/src/main/**"
"glob:**/sbt-test/**"
]
project.layout = StandardConvention
fileOverride {
"glob:**/tests/src/test/scala/**" {
rewrite.imports.sort = ascii
}
"glob:**/rules/src/{main,test}/scala/**" {
rewrite.imports.sort = ascii
rewrite.scala3.convertToNewSyntax = true
runner.dialectOverride.allowSignificantIndentation = false
runner.dialectOverride.allowAsForImportRename = false
runner.dialectOverride.allowStarWildcardImport = false
}
}