-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.scalafmt.conf
More file actions
42 lines (39 loc) · 721 Bytes
/
.scalafmt.conf
File metadata and controls
42 lines (39 loc) · 721 Bytes
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
version = "2.4.2"
project.git = true
style = defaultWithAlign
maxColumn = 120
assumeStandardLibraryStripMargin = true
rewrite.rules = [AvoidInfix, RedundantBraces, RedundantParens, SortModifiers, PreferCurlyFors]
rewrite.redundantBraces.maxLines = 3
#Would be neat if we could just add to this, but we can't, so we copy the defaults into here too
rewrite.neverInfix.excludeFilters = [
until
to
by
eq
ne
"should.*"
"contain.*"
"must.*"
in
ignore
be
taggedAs
thrownBy
synchronized
have
when
size
only
noneOf
oneElementOf
noElementsOf
atLeastOneElementOf
atMostOneElementOf
allElementsOf
inOrderElementsOf
theSameElementsAs
#Our custom stuff starts here
max
min
]