forked from typelevel/cats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
33 lines (32 loc) · 955 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
version=3.8.1
align.openParenCallSite = true
align.openParenDefnSite = true
maxColumn = 120
continuationIndent.defnSite = 2
assumeStandardLibraryStripMargin = true
danglingParentheses.preset = true
rewrite.rules = [AvoidInfix, SortImports, RedundantParens, SortModifiers]
docstrings = JavaDoc
newlines.afterCurlyLambda = preserve
docstrings.style = keep
docstrings.oneline = unfold
runner.dialect = scala213source3
fileOverride {
"glob:**/*.sbt" {
runner.dialect = sbt1
}
"glob:**/src/{main,test}/scala-2.12/**" {
runner.dialect = scala212source3
}
"glob:**/src/{main,test}/scala-3/**" {
runner.dialect = scala3
}
}
project.excludeFilters = [
"scalafix/*"
]
rewrite.scala3.convertToNewSyntax = true
runner.dialectOverride.allowSignificantIndentation = false
runner.dialectOverride.allowAsForImportRename = false
runner.dialectOverride.allowStarWildcardImport = false
runner.dialectOverride.allowPostfixStarVarargSplices = false