forked from moia-oss/scala-http-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scalafmt.conf
51 lines (51 loc) · 978 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
47
48
49
50
51
# https://scalameta.org/scalafmt/docs/configuration.html
version = "3.8.6"
runner.dialect = scala213source3
preset = defaultWithAlign
align.preset = most
align.multiline = false
assumeStandardLibraryStripMargin = true
maxColumn = 160
rewrite.rules = [
AvoidInfix,
PreferCurlyFors,
RedundantBraces,
RedundantParens,
SortImports,
SortModifiers
]
rewrite.redundantBraces.stringInterpolation = true
rewrite.redundantBraces.parensForOneLineApply = true
align.tokens = [{code = "="}, {code = "=>", owner = "Case"}, {code = "%", owner = "Term.ApplyInfix"}, {code = "%%", owner = "Term.ApplyInfix"}]
rewrite.neverInfix.excludeFilters = [
// Default list from http://scalameta.org/scalafmt/#Other
until
to
by
eq
ne
"should.*"
"contain.*"
"must.*"
in
be
taggedAs
theSameElementsAs
thrownBy
synchronized
have
when
// custom entries here
is
ignore
not
size
and
between
andThen
was
called
wasNever
calledAgain
returns
]