-
Notifications
You must be signed in to change notification settings - Fork 3
/
.scalafmt.conf
39 lines (35 loc) · 909 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
38
39
version = 3.6.1
maxColumn = 150
assumeStandardLibraryStripMargin = true
continuationIndent.callSite = 2
includeCurlyBraceInSelectChains = true
# includeNoParensInSelectChains = true
binPack.literalArgumentLists = false
rewrite.rules = [AvoidInfix, SortImports, SortModifiers, RedundantParens, PreferCurlyFors] # RedundantBraces
runner.dialect = scala3
rewrite.scala3 {
convertToNewSyntax = true
removeOptionalBraces = true
}
project {
git = true
excludePaths = [
"glob:**/tests/scala3/compiler/scala3-example-project/**.scala",
"glob:**/tests/scala3/scala2-interop/Scala2.scala"
]
}
newlines {
beforeCurlyLambdaParams = false
implicitParamListModifierPrefer = before
}
align = none
align {
preset = none
stripMargin = true
openParenCallSite = false
openParenDefnSite = false
tokens = [
"%", "%%", "%%%", ":=", "~=", "=>"
]
}
# optIn.breakChainOnFirstMethodDot = true