-
Notifications
You must be signed in to change notification settings - Fork 12
/
.scalafmt.conf
26 lines (24 loc) · 772 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
version = 3.7.14
align.preset = more
assumeStandardLibraryStripMargin = true
binPack.parentConstructors = true
danglingParentheses.preset = false
docstrings.style = Asterisk
docstrings.wrap = "no"
indentOperator.preset = spray
literals.hexDigits = Upper
maxColumn = 120
newlines.implicitParamListModifierPrefer = before
rewrite.redundantBraces.generalExpressions = false
rewrite.redundantBraces.maxLines = 5
rewrite.rules = [SortImports, SortModifiers, PreferCurlyFors]
runner.dialect = scala3
runner.optimizer.forceConfigStyleOnOffset = -1
trailingCommas = preserve
verticalMultiline.arityThreshold = 120
project.excludePaths = [
"glob:**/Deriver.scala",
"glob:**/CompactMapBasedCodecs.scala",
"glob:**/ArrayBasedCodecs.scala",
"glob:**/MapBasedCodecs.scala",
]