Skip to content

v0.8.0

Compare
Choose a tag to compare
@ajafff ajafff released this 22 Apr 08:09
· 1253 commits to master since this release

Features:

  • new rule: no-invalid-assertion
  • no-inferred-empty-object checks JSX elements and tagged templates starting from [email protected]
  • no-useless-initializer checks destructuring defaults

Bugfixes:

  • no-inferred-empty-object correctly checks classes with constructor
  • no-inferred-empty-object correctly checks classes from JavaScript files that have type parameters in JSDoc
  • no-useless-assertion forbids definite assignment assertions on properties with computed name
  • no-return-await wraps object literals returned from shorthand arrow functions in parentheses to avoid syntax errors
  • no-useless-spread no longer autofixes object spread to avoid introducing duplicate key errors
  • --project flag no longer causes a crash when referencing non-existent files
  • valtyr correctly loads custom formatters

Thanks to @aervin for contributing.