forked from magda-io/magda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.scalafmt.conf
More file actions
29 lines (23 loc) · 742 Bytes
/
.scalafmt.conf
File metadata and controls
29 lines (23 loc) · 742 Bytes
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
version = "2.0.0-RC4"
maxColumn = 80
continuationIndent.callSite = 2
continuationIndent.defnSite = 4
assumeStandardLibraryStripMargin = true
// align with our current style
align = some
align.tokens = [
{code = "=>", owner = "Case"},
{code = "%", owner = "Term.ApplyInfix"},
{code = "%%", owner = "Term.ApplyInfix"}
]
// default values as of version 1.6
align.openParenCallSite = false
align.openParenDefnSite = false
// align with our current style
newlines.alwaysBeforeTopLevelStatements = true
// system default
newlines.alwaysBeforeElseAfterCurlyIf = false
// no rewrite rules are set as the feature is not stable
// system default
verticalMultiline.arityThreshold = 100
verticalMultiline.newlineBeforeImplicitKW = false