-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafix.conf
43 lines (40 loc) · 870 Bytes
/
.scalafix.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
rules = [
# ExplicitResultTypes
LeakingImplicitClassVal
NoValInForComprehension
OrganizeImports
# RemoveUnused
]
ExplicitResultTypes {
memberKind = [Def, Val, Var]
memberVisibility = [Public, Protected]
skipSimpleDefinitions = ['Term.Ref', 'Lit', 'Term.New']
fatalWarnings = false
rewriteStructuralTypesToNamedSubclass = false
}
OrganizeImports {
blankLines = Auto
coalesceToWildcardImportThreshold = 1
expandRelative = true
groupExplicitlyImportedImplicitsSeparately = false
groupedImports = AggressiveMerge
groups = [
"re:javax?\\."
"scala."
"cats."
"http4s."
"circe."
"*"
"phr.hippo.api.http."
]
importSelectorsOrder = Ascii
importsOrder = Ascii
preset = DEFAULT
removeUnused = false // should be true
}
RemoveUnused {
imports = false
privates = true
locals = true
patternvars = true
}