-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
57 lines (50 loc) · 1.1 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
### ---------------------- warning ---------------------------------------
### This file has a dual purpose:
### - it is the regular scalafmt config for this repo
### - it is bundled inside the sbt-moda-defaults plugin, which will use it
### for templating the .scalafmt.conf in all projects it manages
###
### (All comments with ### will be filtered out during template rendering)
### ----------------------------------------------------------------------
version=3.8.3
maxColumn = 140
style = default
align.preset = more
project.layout = StandardConvention
runner.dialect = scala3
fileOverride {
"lang:scala-2" = scala213source3
}
danglingParentheses.preset = true
docstrings.wrap = "no"
rewrite.rules = [
AvoidInfix
RedundantBraces
RedundantParens
AsciiSortImports
PreferCurlyFors
SortModifiers
Imports
]
rewrite.neverInfix.excludeFilters = [until
to
by
eq
ne
"should.*"
"contain.*"
"must.*"
in
be
taggedAs
thrownBy
synchronized
have
when
size
theSameElementsAs
at
can
should]
rewrite.imports.sort = original
newlines.implicitParamListModifierPrefer = before