-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.scalafmt.conf
37 lines (33 loc) · 991 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
35
36
37
# see https://scalameta.org/scalafmt/docs/configuration.html
version = 3.3.1
project.git = true
# manually exclude files to format.
# project.excludeFilters = [
# target
# ]
runner.dialect = scala212
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
rewrite.rules = [Imports]
rewrite.imports.sort = scalastyle