Skip to content

v0.19.0

Compare
Choose a tag to compare
@ajafff ajafff released this 22 Jan 11:17
· 756 commits to master since this release

Features:

  • new rule: no-useless-try-catch
  • no-useless-predicate: detect comparing a literal type with itself
  • no-useless-predicate: detect redundant uses of key in obj where key is known to always be present in obj

Bugfixes:

  • no-useless-predicate: treat property access on index signatures as potentially undefined
  • no-useless-predicate: don't report expressions as "always truthy" without strictNullChecks
  • no-useless-predicate: avoid nested finding by reporting only the innermost finding