v0.19.0
Features:
- new rule:
no-useless-try-catch
no-useless-predicate
: detect comparing a literal type with itselfno-useless-predicate
: detect redundant uses ofkey in obj
wherekey
is known to always be present inobj
Bugfixes:
no-useless-predicate
: treat property access on index signatures as potentiallyundefined
no-useless-predicate
: don't report expressions as "always truthy" withoutstrictNullChecks
no-useless-predicate
: avoid nested finding by reporting only the innermost finding