-
Notifications
You must be signed in to change notification settings - Fork 2
/
.scalafmt.conf
24 lines (24 loc) · 805 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
version = 2.7.5
maxColumn = 150
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
continuationIndent.extendSite = 4
align.openParenDefnSite = true
align.openParenCallSite = true
align.preset = some
align.tokens.add = [
{code = "%", owner = "Term.ApplyInfix"},
{code = "%%", owner = "Term.ApplyInfix"}
]
danglingParentheses = false
rewrite.rules = [RedundantBraces, SortModifiers, SortImports, prefercurlyfors]
importSelectors = singleLine
spaces.afterKeywordBeforeParen = true
lineEndings = unix
newlines.penalizeSingleSelectMultiArgList = false
newlines.alwaysBeforeElseAfterCurlyIf = false
newlines.alwaysBeforeMultilineDef = false
newlines.topLevelStatements = [before,after]
binPack.literalArgumentLists = false
runner.optimizer.forceConfigStyleMinArgCount = 1
docstrings = ScalaDoc