Skip to content

7.0.0 Release

Compare
Choose a tag to compare
@manovotny manovotny released this 03 Feb 20:49
· 37 commits to main since this release
c4c3780

Highlights

  • ESLint 8 support!
  • Zero-config Next.js linting!
  • Zero-config TypeScript linting!

Breaking

  • New rules were added, which could potentially break builds.
  • Requires node 12.20.0 or higher.
  • Requires eslint 8.7.0 or higher. (#175)
  • React filename extensions should be .jsx now instead of .js to more explicitly call out which files contain React and which files are pure JavaScript.
    • renamer can be used to aid in this conversion. For example: npx renamer --find js --replace jsx "components/**" --dry-run (remove --dry-run once everything looks good).
    • Probably update your NPM scripts to use eslint . --ext .js,.jsx.
  • package.json property ordering for consistency across projects.

Added

Changed

Fixed

  • Fixes false positives with import/extensions and mixed CommonJS / ESM usage.
  • Fixes false positives with React JSX transform rules for older versions of React.

Removed

Changeset

v6.0.3...v7.0.0