forked from ant8e/uuid4cats-effect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scalafmt.conf
30 lines (27 loc) · 898 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
29
30
version = "3.9.0"
runner.dialect = Scala213Source3 # https://scalameta.org/scalafmt/docs/configuration.html#scala-2-with--xsource3
maxColumn = 140
align.preset = most
continuationIndent.defnSite = 2
assumeStandardLibraryStripMargin = true
docstrings.style = Asterisk
lineEndings = preserve
includeCurlyBraceInSelectChains = true
danglingParentheses.preset = true
optIn.annotationNewlines = true
newlines.alwaysBeforeMultilineDef = false
newlines.implicitParamListModifierPrefer = before
trailingCommas = multiple
docstrings.wrap = no
rewrite.rules = [RedundantBraces, SortModifiers]
rewrite.sortModifiers.order = [
"implicit", "override", "private", "protected", "final", "sealed", "abstract", "lazy"
]
rewrite.redundantBraces.generalExpressions = false
rewrite.redundantBraces.stringInterpolation = true
rewriteTokens = {
"⇒": "=>"
"→": "->"
"←": "<-"
}
project.excludePaths = []