forked from BlueBrain/sbt-nexus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scalafmt.conf
23 lines (23 loc) · 833 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
version = 2.2.1
style = defaultWithAlign
maxColumn = 120
rewrite.rules = [SortImports]
align.tokens = [
{code = "=>", owner = "Case"}
{code = "?", owner = "Case"}
{code = "extends", owner = "Defn.(Class|Trait|Object)"}
{code = "//", owner = ".*"}
{code = "{", owner = "Template"}
{code = "}", owner = "Template"}
{code = ":=", owner = "Term.ApplyInfix"}
{code = "++=", owner = "Term.ApplyInfix"}
{code = "+=", owner = "Term.ApplyInfix"}
{code = "%", owner = "Term.ApplyInfix"}
{code = "%%", owner = "Term.ApplyInfix"}
{code = "%%%", owner = "Term.ApplyInfix"}
{code = "->", owner = "Term.ApplyInfix"}
{code = "?", owner = "Term.ApplyInfix"}
{code = "<-", owner = "Enumerator.Generator"}
{code = "?", owner = "Enumerator.Generator"}
{code = "=", owner = "(Enumerator.Val|Defn.(Va(l|r)|Def|Type))"}
]