-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scalafmt.conf
48 lines (35 loc) · 1.01 KB
/
.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
47
48
version = "3.7.15"
runner.dialect = scala3
style = defaultWithAlign
assumeStandardLibraryStripMargin = false
docstrings.style = Asterisk
docstrings.oneline = unfold
align = more
align.stripMargin = true
align.arrowEnumeratorGenerator = true
align.multiline = true
align.inInterpolation = true
align.openParenCallSite = false
align.openParenDefnSite = false
align.tokens = [
{code = "->"},
{code = "<-"},
{code = "=>", owner = "Case"},
{code = ")"},
{code = "="},
{code = "%"},
{code = "%%"},
{code = ":", owners = [{regex = "Term\\.Param", parents = [ "Ctor\\.Primary" ]}]}
]
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
danglingParentheses.preset = true
verticalMultiline.arityThreshold = 1
newlines.inInterpolation = oneline
newlines.source = keep
newlines.topLevelStatements = [before, after]
indentOperator.preset = spray
maxColumn = 120
project.excludeFilters = [".*\\.sbt"]
rewrite.rules = [RedundantParens, SortModifiers, AsciiSortImports]
spaces.inImportCurlyBraces = false