-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
31 lines (30 loc) · 936 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
version = 2.7.5
style = defaultWithAlign
align.openParenCallSite = false
align.openParenDefnSite = false
align.tokens = [
{code = "->"},
{code = "<-"},
{code = "⇒", owner = "Case"},
{code = "=>", owner = "Case"},
{code = "=", owner = "Defn"},
{code = "^^"},
{code = "should", owner = "Term.ApplyInfix"},
{code = "shouldEqual", owner = "Term.ApplyInfix"},
{code = "===", owner = "Term.ApplyInfix"},
{code = "shouldBe", owner = "Term.ApplyInfix"},
{code = "%", owner = "Term.ApplyInfix"},
{code = "%%", owner = "Term.ApplyInfix"},
{code = ":=", owner = "Term.ApplyInfix"},
{code = "extends"}
]
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
danglingParentheses = true
indentOperator = spray
newlines.alwaysBeforeMultilineDef = false
rewrite.rules = [RedundantParens, SortImports]
spaces.inImportCurlyBraces = false
unindentTopLevelOperators = true
maxColumn = 120
trailingCommas = preserve