forked from guizmaii-opensource/sbt-datadog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
32 lines (29 loc) · 995 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
31
32
version = "3.7.14"
runner.dialect = scala212 # 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 = [
"glob:**/modules/caliban-client/src/main/scala/io/conduktor/devtools/api/client/generated/**.scala"
]