forked from json4s/json4s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
29 lines (29 loc) · 864 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
version = "3.8.2"
style = defaultWithAlign
danglingParentheses.preset = true
indentOperator.preset = spray
includeCurlyBraceInSelectChains = true
maxColumn = 120
rewrite.rules = [PreferCurlyFors]
spaces.inImportCurlyBraces = false
binPack.literalArgumentLists = false
indentOperator.topLevelOnly = false
continuationIndent.defnSite = 2
continuationIndent.extendSite = 2
align = none
align.tokens = []
align.openParenDefnSite = false
align.openParenCallSite = false
trailingCommas = preserve
docstrings.style = keep
docstrings.oneline = keep
runner.dialect = scala213source3
fileOverride {
"glob:**/src/**/scala-3/**" {
runner.dialect = scala3
}
}
rewrite.scala3.convertToNewSyntax = true
runner.dialectOverride.allowSignificantIndentation = false
runner.dialectOverride.allowAsForImportRename = false
runner.dialectOverride.allowStarWildcardImport = false