-
Notifications
You must be signed in to change notification settings - Fork 12
/
.scalafmt.conf
121 lines (113 loc) · 3.12 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version = "3.7.15"
style = defaultWithAlign
maxColumn = 150
lineEndings = unix
importSelectors = singleLine
project {
git = true
}
align = most
align {
tokens = [ {code = "=>", owner = "Case|Type.Arg.ByName"}, "=", "<-", "->", "%", "%%", "should", "shouldBe", "must", "mustBe", ":" ]
arrowEnumeratorGenerator = true
openParenCallSite = false
openParenDefnSite = false
}
binPack {
parentConstructors = false
}
continuationIndent {
callSite = 2
defnSite = 2
}
newlines {
penalizeSingleSelectMultiArgList = false
sometimesBeforeColonInMethodReturnType = true
}
rewrite {
rules = [RedundantBraces, RedundantParens, AsciiSortImports]
redundantBraces {
maxLines = 100
includeUnitMethods = true
stringInterpolation = true
}
}
spaces {
inImportCurlyBraces = false
beforeContextBoundColon = false
}
runner.dialect = scala213
fileOverride {
"glob:**/subprojects/selectorlist/processor/src/test/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/portal/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/core/databases/src/it/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/springboard/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/springboard/src/test/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/core/databases/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/jobs/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/selectorlist/processor/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/eoyDataRefresh/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/processes/selectorlistDownloaderJob/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/selectorlist/generator/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/generate/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/portal/src/it/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/selectorlist/databases/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/server/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/server/src/test/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/springboard/src/it/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/core/models/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/processes/selectorlistReprocessorJob/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/processes/selectorlistDownloader/src/main/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/selectorlist/databases/src/it/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/portal/src/test/scala/**" {
runner.dialect = scala213source3
}
"glob:**/subprojects/selectorlist/databases/src/test/scala/**" {
runner.dialect = scala213source3
}
"glob:**/api/server/src/it/scala/**" {
runner.dialect = scala213source3
}
}