-
Notifications
You must be signed in to change notification settings - Fork 5
/
.scalafmt-common.conf
52 lines (43 loc) · 1.1 KB
/
.scalafmt-common.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
# This file was automatically generated by sbt-lucuma using the
# lucumaScalafmtGenerate task. You should add and commit this file to
# your git repository. It goes without saying that you shouldn't edit
# this file by hand! Instead, if you wish to make changes, you should
# make a PR to sbt-lucuma.
version = "3.8.3"
style = default
runner.dialect = scala3
runner.optimizer.maxVisitsPerToken = 20000 # Avoids SearchStateExploded exceptions
maxColumn = 100
project.git = true
// Vertical alignment is pretty, but leads to bigger diffs
align.preset = most
rewrite.rules = [
AvoidInfix
RedundantBraces
RedundantParens
AsciiSortImports
PreferCurlyFors
]
align.tokens."+" = [{code = "=>", owner = "Case"}]
align.tokens."+" = [{code = ":", owner = "Term.Param"}, "=", "shouldBe", "<-", "^"]
align.openParenCallSite = true
spaces.inImportCurlyBraces = false
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]