Skip to content

v0.7.0

Choose a tag to compare

@ajafff ajafff released this 07 Apr 18:15
· 1283 commits to master since this release

Features:

  • new rule: no-unassigned-variable
  • new rule: no-useless-spread (contributed by @aervin)
  • new rule: return-never-call

Bugfixes:

  • no-inferred-empty-object: check generic JSX elements (starting from typescript@2.9)
  • no-useless-assertion: correctly handle conditional types
  • no-useless-predicate: checks comparing typeof with a variable that has a literal type: const str = 'string'; typeof 1 === str;