-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
28 lines (24 loc) · 914 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
version = "3.7.3"
runner.dialect = scala3
style = defaultWithAlign
align.preset = more
align.openParenCallSite = false
align.openParenDefnSite = false
continuationIndent.defnSite = 2
trailingCommas = preserve
rewrite.scala3.convertToNewSyntax = true
rewrite.scala3.insertEndMarkerMinLines = 0
rewrite.scala3.removeOptionalBraces = yes
# align.tokens = [off]
danglingParentheses.preset = true
indentOperator.preset = spray
newlines.afterInfix = many
maxColumn = 120
rewrite.rules = [RedundantBraces, RedundantParens, SortModifiers]
# rewrite.imports.sort = scalastyle
# unindentTopLevelOperators = true
newlines.beforeCurlyLambdaParams = multilineWithCaseOnly
trailingCommas = preserve
project.git = true
project.excludeFilters = ["target/", ".ensime-cache"]
docstrings.style = keep