-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.scalafix.conf
More file actions
31 lines (28 loc) · 815 Bytes
/
.scalafix.conf
File metadata and controls
31 lines (28 loc) · 815 Bytes
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
rules = [
// Semantic Rules
NoAutoTupling
OrganizeImports
// RemoveUnused
// Syntactic Rules
DisableSyntax
LeakingImplicitClassVal
NoValInForComprehension
// ProcedureSyntax
RedundantSyntax
]
OrganizeImports.removeUnused = false
DisableSyntax.noVars = true
DisableSyntax.noThrows = true
DisableSyntax.noNulls = true
DisableSyntax.noReturns = true
DisableSyntax.noWhileLoops = true
DisableSyntax.noAsInstanceOf = true
DisableSyntax.noIsInstanceOf = true
DisableSyntax.noXml = true
DisableSyntax.noDefaultArgs = true
DisableSyntax.noFinalVal = true
DisableSyntax.noFinalize = true
DisableSyntax.noValPatterns = true
DisableSyntax.noUniversalEquality = true
DisableSyntax.noUniversalEqualityMessage = "== and != are unsafe since they allow comparing two unrelated types"
DisableSyntax.regex = []