analyse/dead-code
Code that never runs, or whose result is never used. Also in lint (55).
boolean-and-always-constant
In the analyse-recommended preset and every stricter one. Report only.
boolean-not-always-constant
In the analyse-recommended preset and every stricter one. Report only.
boolean-or-always-constant
In the analyse-recommended preset and every stricter one. Report only.
call-condition-always-constant
In the analyse-recommended preset and every stricter one. Report only.
discarded-function-result
In the analyse-basic preset and every stricter one. Report only.
discarded-method-result
In the analyse-basic preset and every stricter one. Report only.
discarded-static-method-result
In the analyse-basic preset and every stricter one. Report only.
do-while-always-constant
In the analyse-recommended preset and every stricter one. Report only.
elseif-always-constant
In the analyse-recommended preset and every stricter one. Report only.
finally-overrides-exit
In the analyse-recommended preset and every stricter one. Report only.
if-always-constant
In the analyse-recommended preset and every stricter one. Report only.
impossible-in-array
In the analyse-recommended preset and every stricter one. Report only. Upstream gates: bleedingEdge (featureToggles.finiteTypesInHaystack).
impossible-instanceof
In the analyse-recommended preset and every stricter one. Report only.
impossible-method-type-check
In the analyse-recommended preset and every stricter one. Report only.
impossible-static-type-check
In the analyse-recommended preset and every stricter one. Report only.
impossible-type-check
In the analyse-recommended preset and every stricter one. Report only.
loose-comparison-always-constant
In the analyse-recommended preset and every stricter one. Report only.
number-comparison-always-constant
In the analyse-recommended preset and every stricter one. Report only.
pure-function-result-unused
In the analyse-recommended preset and every stricter one. Report only.
pure-method-result-unused
In the analyse-recommended preset and every stricter one. Report only.
pure-new-result-unused
In the analyse-recommended preset and every stricter one. Report only.
pure-static-method-result-unused
In the analyse-recommended preset and every stricter one. Report only.
redundant-null-coalesce
In the analyse-basic preset and every stricter one. Report only.
sort-without-effect
In the analyse-recommended preset and every stricter one. Report only. Upstream gates: bleedingEdge (featureToggles.sortWithoutEffect).
strict-comparison-always-constant
In the analyse-recommended preset and every stricter one. Report only.
switch-always-constant
In the analyse-recommended preset and every stricter one. Report only. Upstream gates: bleedingEdge (featureToggles.switchConditionAlwaysFalse).
ternary-always-constant
In the analyse-recommended preset and every stricter one. Report only.
trait-condition-always-constant
In the analyse-basic preset and every stricter one. Report only.
unused-argument
In the analyse-basic preset and every stricter one. Report only.
unused-function-parameter
In the analyse-recommended preset and every stricter one. Report only. Upstream gates: bleedingEdge (featureToggles.unusedParameters).
unused-function-result
In the analyse-recommended preset and every stricter one. Report only.
unused-method-parameter
In the analyse-recommended preset and every stricter one. Report only. Upstream gates: bleedingEdge (featureToggles.unusedParameters).
unused-method-result
In the analyse-recommended preset and every stricter one. Report only.
unused-new-result
In the analyse-recommended preset and every stricter one. Report only.
unused-private-property
In the analyse-recommended preset and every stricter one. Report only.
unused-static-method-result
In the analyse-recommended preset and every stricter one. Report only.
unused-trait
In the analyse-recommended preset and every stricter one. Report only.
unused-variable
In the analyse-recommended preset and every stricter one. Report only. Upstream gates: bleedingEdge (featureToggles.unusedVariable).
useless-return-value
In the analyse-recommended preset and every stricter one. Report only.
while-always-false
In the analyse-recommended preset and every stricter one. Report only.
while-always-true
In the analyse-recommended preset and every stricter one. Report only.
xor-always-constant
In the analyse-recommended preset and every stricter one. Report only.