-
Notifications
You must be signed in to change notification settings - Fork 162
/
.scalafmt.conf
28 lines (26 loc) · 951 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
version = 3.7.4
runner.dialect = scala213source3
project.git = true
style = Scala.js
project.includeFilters = ["src/main/scala/org/scalajs/.*\\.scala"]
maxColumn = 120
danglingParentheses.callSite = false
danglingParentheses.ctrlSite = false
danglingParentheses.defnSite = false
docstrings.oneline = fold
docstrings.style = SpaceAsterisk
literals.hexDigits = Upper
literals.scientific = Upper
newlines.afterCurlyLambdaParams = never
newlines.alwaysBeforeElseAfterCurlyIf = false
newlines.beforeCurlyLambdaParams = never
newlines.topLevelStatements = [before]
optIn.forceBlankLineBeforeDocstring = true
rewrite.sortModifiers.order = [
"override", "final", "implicit",
"sealed", "abstract",
"private", "protected",
"open", "opaque", "infix",
"transparent", "inline",
"lazy"
]