forked from bblfish/SolidCtrlApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
46 lines (42 loc) · 811 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
45
46
version = "3.7.4"
runner.dialect = scala3
indent {
main = 2
matchSite = 1
significant = 3
}
align {
preset = none
stripMargin = false
}
maxColumn = 100
assumeStandardLibraryStripMargin = true
rewrite.scala3 {
convertToNewSyntax = true
removeOptionalBraces = yes
}
runner.dialectOverride.allowQuestionMarkAsTypeWildcard = false
newlines {
selectChains = fold
beforeMultiline = fold
}
comments.wrapSingleLineMlcAsSlc = false
docstrings{
wrap = "no"
oneline = fold
style = SpaceAsterisk
}
fileOverride {
"glob:**.sbt" {
runner.dialect = scala212source3
}
"glob:**/project/**.scala" {
runner.dialect = scala212source3
}
"glob:**/interface/**.scala" {
runner.dialect = scala212source3
}
"glob:**/sbt-plugin/**.scala" {
runner.dialect = scala212source3
}
}