-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.scalafmt.conf
44 lines (40 loc) · 917 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
40
41
42
43
44
// latest snapshot is at https://oss.sonatype.org/content/repositories/snapshots/org/scalameta/scalafmt-core_2.13/
version = "3.4.3+29-5edda123-SNAPSHOT"
runner.dialect = scala3
indent {
main = 2
significant = 3
matchSite = 1
}
align {
preset = more // For pretty alignment.
stripMargin = true
}
maxColumn = 100 //
assumeStandardLibraryStripMargin = true
rewrite.scala3 {
convertToNewSyntax = true
removeOptionalBraces = yes
}
newlines{
beforeMultiline = keep
source=keep
}
optIn.breakChainOnFirstMethodDot = false
includeNoParensInSelectChains = false
binPack.unsafeCallSite = oneline
optIn.configStyleArguments = false
fileOverride {
"glob:**.sbt" {
runner.dialect = scala213
}
"glob:**/project/**.scala" {
runner.dialect = scala213
}
"glob:**/interface/**.scala" {
runner.dialect = scala213
}
"glob:**/sbt-plugin/**.scala" {
runner.dialect = scala213
}
}