-
Notifications
You must be signed in to change notification settings - Fork 6
/
.scalafix.conf
67 lines (59 loc) · 1.4 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
rules = [
OrganizeImports
RemoveUnused
NoAutoTupling
LeakingImplicitClassVal
NoValInForComprehension
ProcedureSyntax
DisableSyntax
ExplicitResultTypes
Disable
MissingFinal
]
OrganizeImports {
expandRelative = true
groupedImports = Merge
# IntelliJ IDEA's order so that they don't fight each other
groups = [
"java."
"*"
"scala."
]
}
RemoveUnused {
imports = false // handled by OrganizeImports
}
Disable {
ifSynthetic = [
"java/io/Serializable"
"scala/Any"
]
}
DisableSyntax {
// noAsInstanceOf = true Used extensively in the codebase. TODO: consider reducing and/or local suppression
noDefaultArgs = true
noFinalize = true
noImplicitConversion = true
noImplicitObject = true
noIsInstanceOf = true
// noNulls = true Used extensively in the codebase. TODO: consider reducing and/or local suppression
noReturns = true
noSemicolons = true
noTabs = true
noThrows = true
// noUniversalEquality = true Used extensively in the codebase. TODO: consider reducing and/or local suppression
noValInAbstract = true
noVars = true
noWhileLoops = true
noXml = true
}
ExplicitResultTypes {
unsafeShortenNames = true
fatalWarnings = true
# these apply to non-implicits
memberKind = [Def, Val]
memberVisibility = [Public, Protected]
# turn to the max...
skipSimpleDefinitions = false
skipLocalImplicits = false
}