forked from ColOfAbRiX/figlet4s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
42 lines (39 loc) · 1.72 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
version = 2.7.5
align.arrowEnumeratorGenerator = true
align.preset = more
align.stripMargin = true
assumeStandardLibraryStripMargin = true
continuationIndent.defnSite = 4
danglingParentheses.preset = true
docstrings = JavaDoc
importSelectors = binPack
includeNoParensInSelectChains = true
lineEndings = unix
maxColumn = 120
newlines.afterCurlyLambda = preserve
newlines.alwaysBeforeElseAfterCurlyIf = false
newlines.alwaysBeforeMultilineDef = false
newlines.avoidForSimpleOverflow = [ tooLong, punct ]
newlines.beforeCurlyLambdaParams = multilineWithCaseOnly
newlines.beforeMultilineDef = keep
newlines.implicitParamListModifierPrefer = before
newlines.penalizeSingleSelectMultiArgList = false
optIn.blankLineBeforeDocstring = true
optIn.breaksInsideChains = true
project.excludeFilters = [ ".*\\src\\test\\.*$" ]
project.git = true
rewrite.rules = [ AsciiSortImports, PreferCurlyFors, SortModifiers ]
spaces.inImportCurlyBraces = true
trailingCommas = always
unindentTopLevelOperators = true
verticalAlignMultilineOperators = true
align.tokens.add = [
{ code = ":=", owner = "Term.ApplyInfix" },
{ code = "+=", owner = "Term.ApplyInfix" },
{ code = "++=", owner = "Term.ApplyInfix" },
]
rewriteTokens = {
"⇒": "=>"
"→": "->"
"←": "<-"
}