-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.scalafmt.conf
More file actions
48 lines (41 loc) · 1.01 KB
/
Copy path.scalafmt.conf
File metadata and controls
48 lines (41 loc) · 1.01 KB
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
47
48
# https://scalameta.org/scalafmt/docs/configuration.html
version=3.11.1
runner.dialect = scala3
project.git = true
project.excludeFilters = [
".githook",
".github",
"logs",
"docker",
"docs",
"scripts",
"target",
"tools"
]
align.preset = none
align.arrowEnumeratorGenerator = false
docstrings.style = Asterisk
docstrings.removeEmpty = false
docstrings.wrap = "no"
lineEndings = unix
maxColumn = 160
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
includeCurlyBraceInSelectChains = true
includeNoParensInSelectChains = false
importSelectors = noBinPack
newlines.topLevelStatementBlankLines = []
newlines.penalizeSingleSelectMultiArgList = false
rewrite.rules = [Imports]
rewrite.imports.selectors = fold
rewrite.imports.sort = scalastyle
rewrite.imports.groups = [
["net.yoshinorin\\..*"],
["scala.\\..*"],
["java.\\..*"]
]
spaces.inImportCurlyBraces=false
spaces.inInterpolatedStringCurlyBraces = false
# Scala3
rewrite.scala3.convertToNewSyntax = true
rewrite.scala3.newSyntax.control = false