forked from jan0sch/pfhais
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafix.conf
30 lines (27 loc) · 1.1 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
# Global rules
rules = [
DisableSyntax,
LeakingImplicitClassVal,
NoValInForComprehension,
ProcedureSyntax
]
# Rule specific settings:
DisableSyntax.noAsInstanceOf = true
DisableSyntax.noCovariantTypes = true
DisableSyntax.noContravariantTypes = true
DisableSyntax.noDefaultArgs = true
DisableSyntax.noFinalVal = false
DisableSyntax.noFinalize = false
DisableSyntax.noImplicitConversion = true
DisableSyntax.noImplicitObject = true
DisableSyntax.noIsInstanceOf = true
DisableSyntax.noNulls = true
DisableSyntax.noReturns = true
DisableSyntax.noSemicolons = true
DisableSyntax.noThrows = true
DisableSyntax.noUniversalEquality = true
DisableSyntax.noUniversalEqualityMessage = "Using == is unsafe since it allows comparing two unrelated types!"
DisableSyntax.noValPatterns = false
DisableSyntax.noValInAbstract = true
DisableSyntax.noVars = false
DisableSyntax.noXml = true