-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
39 lines (28 loc) · 939 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
version="3.7.17"
runner.dialect = "scala213"
maxColumn = 180
assumeStandardLibraryStripMargin = true
align.stripMargin = true
align.preset = most
align.multiline = true
indent.extendSite = 4
indent.defnSite = 4
align.arrowEnumeratorGenerator = true
align.closeParenSite = true
align.openParenCallSite = false
align.openParenDefnSite = false
align.openParenCtrlSite = false
danglingParentheses.defnSite = true
danglingParentheses.callSite = true
danglingParentheses.exclude = []
newlines.source = keep
newlines.topLevelStatements = [before]
newlines.alwaysBeforeMultilineDef = false
newlines.implicitParamListModifierPrefer = before
# newlines.implicitParamListModifierForce = [before]
newlines.avoidForSimpleOverflow = [tooLong, punct, slc]
rewrite.rules = [SortModifiers]
rewrite.rules = [AsciiSortImports]
verticalMultiline.atDefnSite = true
verticalMultiline.newlineAfterOpenParen = true
includeNoParensInSelectChains = true