-
Notifications
You must be signed in to change notification settings - Fork 2
/
.scalafmt.conf
37 lines (30 loc) · 1.13 KB
/
.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
version = 3.5.8
runner.dialect = scala3
preset = default
align.preset = more
align.multiline = true
align.stripMargin = true
align.openParenCallSite = false
# danglingParentheses = true
maxColumn = 120
# rewrite.rules = [PreferCurlyFors, RedundantBraces, RedundantParens, SortImports]
rewrite.rules = [Imports, RedundantBraces, SortModifiers, RedundantParens]
rewrite.imports.sort = original
# style = defaultWithAlign
# spaces.inImportCurlyBraces = true
# unindentTopLevelOperators = true
# align.tokens = ["%", "%%", {code = "=>", owner = "Case"}, {code = "=", owner = "(Enumerator.Val|Defn.(Va(l|r)|Def|Type))"},]
# align.arrowEnumeratorGenerator = true
# binPack.parentConstructors = false
# newlines.afterImplicitKWInVerticalMultiline = true
# newlines.beforeImplicitKWInVerticalMultiline = true
# project.excludeFilters = [ .scalafmt.conf ]
# project.git = true
continuationIndent.defnSite = 2
assumeStandardLibraryStripMargin = true
danglingParentheses.preset = true
# docstrings = JavaDoc
lineEndings = preserve
includeCurlyBraceInSelectChains = false
spaces.inImportCurlyBraces = false
optIn.annotationNewlines = true