forked from ThreeTen/threetenbp
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.scalafmt.conf
49 lines (41 loc) · 793 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
version = "3.6.1"
style = default
maxColumn = 100
// Vertical alignment is pretty, but leads to bigger diffs
align.preset = most
rewrite.rules = [
AvoidInfix
RedundantBraces
RedundantParens
AsciiSortImports
PreferCurlyFors
]
align.tokens.add = [{code = "=>", owner = "Case"}]
align.tokens.add = [{code = ":", owner = "Term.Param"}, "=", "shouldBe", "<-", "^"]
align.openParenCallSite = true
spaces.inImportCurlyBraces = true
continuationIndent.defnSite = 2
docstrings.style = Asterisk
rewrite.neverInfix.excludeFilters = [until
to
by
eq
ne
"should.*"
"contain.*"
"must.*"
in
be
taggedAs
thrownBy
synchronized
have
when
size
theSameElementsAs]
runner.dialect = scala213
fileOverride {
"glob:**/scala-3/**" {
runner.dialect = scala3
}
}