-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
41 lines (33 loc) · 920 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
33
34
35
36
37
38
39
40
41
# This file has been automatically generated and should
# not be edited nor added to source control systems.
# To edit the original configurations go to
# https://github.com/alejandrohdezma/sbt-scalafmt-defaults/edit/master/.scalafmt.conf
version = 3.0.5
runner.dialect = scala3
maxColumn = 120
align.preset = none
newlines {
sometimesBeforeColonInMethodReturnType = false
}
style = default
assumeStandardLibraryStripMargin = true
newlines.alwaysBeforeElseAfterCurlyIf = false
binPack {
literalArgumentLists = true
literalsIncludeSimpleExpr = true
literalsExclude = [ "Term.Name" ]
}
docstrings.style = "SpaceAsterisk"
docstrings.oneline = fold
rewrite {
rules = [
PreferCurlyFors
RedundantBraces,
RedundantParens,
SortModifiers
]
redundantBraces.maxLines = 1
redundantBraces.stringInterpolation = true
}
includeNoParensInSelectChains = false
optIn.blankLineBeforeDocstring = true