forked from cchantep/Reactivemongo-Play-Json
-
Notifications
You must be signed in to change notification settings - Fork 13
/
.scalafmt.conf
34 lines (27 loc) · 881 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
version = 3.8.3
runner.dialect = Scala213Source3
newlines.alwaysBeforeElseAfterCurlyIf = false
newlines.beforeMultilineDef = keep
newlines.topLevelStatements = [before]
newlines.beforeCurlyLambdaParams = multilineWithCaseOnly
newlines.afterCurlyLambdaParams = squash
newlines.implicitParamListModifierForce = [after]
newlines.avoidForSimpleOverflow = [tooLong]
newlines.avoidInResultType = true
newlines.sometimesBeforeColonInMethodReturnType = false
verticalMultiline.atDefnSite = true
verticalMultiline.arityThreshold = 10
spaces.inImportCurlyBraces = true
includeCurlyBraceInSelectChains = false
includeNoParensInSelectChains = false
optIn.breakChainOnFirstMethodDot = false
docstrings.style = Asterisk
docstrings.wrap = no
literals.long=Upper
literals.float=Upper
literals.double=Upper
fileOverride {
"glob:**/src/*/scala-3/*.scala" {
runner.dialect = scala3
}
}