forked from sbt/sbt-release
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.scalafmt.conf
More file actions
25 lines (25 loc) · 711 Bytes
/
.scalafmt.conf
File metadata and controls
25 lines (25 loc) · 711 Bytes
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
version = "3.10.3"
runner.dialect = Scala212Source3
maxColumn = 120
align.preset = none
align.tokens = []
rewrite.rules = [ExpandImportSelectors, PreferCurlyFors]
rewrite.imports.contiguousGroups = "no"
rewrite.imports.groups = [[".*"]]
rewrite.imports.sort = ascii
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.layout = StandardConvention
rewrite.scala3.convertToNewSyntax = true
rewrite.scala3.newSyntax.control = false