-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
35 lines (30 loc) · 1.06 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
align = most
align.openParenCallSite = false
align.openParenDefnSite = false
align.tokens = [
{ code = "extends", owner = "Defn.(Class|Trait|Object)" }
{ code = "//", owner = ".*" }
{ code = "{", owner = "Template" }
{ code = "}", owner = "Template" }
{ code = "%", owner = applyInfix }
{ code = "%%",owner = applyInfix }
{ code = "%%%",owner = applyInfix }
{ code = "<-", owner = "Enumerator.Generator" }
{ code = "←", owner = "Enumerator.Generator" }
{ code = "->", owner = applyInfix }
{ code = "→", owner = applyInfix }
{ code = "=", owner = "(Enumerator.Val|Defn.(Va(l|r)|Def|Type))" }
]
maxColumn = 120
continuationIndent.defnSite = 4
newlines.beforeTypeBounds = unfold
newlines.avoidForSimpleOverflow = [tooLong, punct, slc]
optIn.configStyleArguments = true
project.git = true
rewrite.rules = [RedundantBraces, RedundantParens, SortModifiers, Imports, PreferCurlyFors]
rewrite.imports.expand = true
rewrite.imports.sort = ascii
runner.dialect = "scala213source3"
style = IntelliJ
trailingCommas = preserve
version=3.0.6