-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.scalafmt.conf
More file actions
40 lines (35 loc) · 859 Bytes
/
.scalafmt.conf
File metadata and controls
40 lines (35 loc) · 859 Bytes
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
version = 3.10.1
runner.dialect = scala213source3
maxColumn = 110
trailingCommas = multiple
align.preset = some
indent.defnSite = 2
indent.caseSite = 5
indent.extendSite = 2
indentOperator.exclude = "^(&&|\\|\\||~)$"
newlines.avoidForSimpleOverflow = [punct, tooLong, slc]
newlines.source = keep
newlines.implicitParamListModifierForce = [after]
spaces.beforeContextBoundColon = always
spaces.inInterpolatedStringCurlyBraces = true
verticalMultiline.atDefnSite = true
verticalMultiline.arityThreshold = 3
verticalMultiline.newlineAfterOpenParen = true
danglingParentheses.exclude = []
docstrings.oneline = fold
docstrings.wrap = no
importSelectors = singleLine
rewrite.rules = [
RedundantParens,
SortModifiers,
]
rewrite.sortModifiers.order = [
"override",
"private",
"protected",
"implicit",
"final",
"sealed",
"abstract",
"lazy",
]