-
Notifications
You must be signed in to change notification settings - Fork 510
/
.scalafmt.conf
46 lines (39 loc) · 769 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
42
43
44
45
46
version = "3.8.1"
runner.dialect = scala213
fileOverride {
"glob:**/scala-2.12/**" {
runner.dialect = scala212
}
}
maxColumn = 100
lineEndings=preserve
binPack.literalArgumentLists = true
continuationIndent {
callSite = 2
defnSite = 2
}
newlines {
alwaysBeforeMultilineDef = false
sometimesBeforeColonInMethodReturnType = true
}
docstrings.oneline = fold
docstrings.style = Asterisk
project.git = false
rewrite {
rules = [
PreferCurlyFors,
SortImports,
RedundantBraces,
RedundantParens,
SortModifiers
]
redundantBraces.generalExpressions = false
redundantBraces.maxLines = 1
}
project.excludeFilters = [
"MultiJoin.scala",
"SMBMultiJoin.scala",
"TupleCoders.scala",
"scalafix/input/*",
"scalafix/output/*"
]