-
Notifications
You must be signed in to change notification settings - Fork 23
/
.scalafmt.conf
35 lines (31 loc) · 941 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
32
33
34
# see https://scalameta.org/scalafmt/docs/configuration.html
version = 2.7.5
# Only format files tracked by git.
project.git = true
# manually exclude files to format.
# project.excludeFilters = [
# target
# ]
maxColumn = 100
assumeStandardLibraryStripMargin = false
align.stripMargin = true
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
continuationIndent.ctorSite = 2
continuationIndent.extendSite = 4
continuationIndent.withSiteRelativeToExtends = 0
indentOperator.topLevelOnly = false
align.preset = some
align.tokens = [
{code = "=>", owner = "Case"},
{code = "%", owner = "Term.ApplyInfix"},
{code = "%%", owner = "Term.ApplyInfix"}
]
align.openParenCallSite = false
align.openParenDefnSite = false
newlines.source = keep
newlines.topLevelStatements = [before,after]
spaces.inImportCurlyBraces = true
spaces.afterKeywordBeforeParen = true
literals.long = Upper
optIn.forceBlankLineBeforeDocstring = true