Skip to content

ESLint 9 + Stylistic

Compare
Choose a tag to compare
@TheJaredWilcurt TheJaredWilcurt released this 07 Sep 22:58
· 10 commits to main since this release

ESLint 9 completely changed their config format and switched to ESM. This release updates the library to be compatible with ESLint 9+. If you are using CJS or ESLint 8, you will need to upgrade to use this release.

  • Library is now "type": "module"
  • Updated linting rules:
    • Now targets ES2025
    • ESLint 9 deprecated all stylistic rules, so we now use @Stylistic for these, where they continue to be maintained
    • No other linting rules were changed
  • Renamed no-restricted-syntax.json to no-restricted-syntax.js to work better with ESLint v9
  • Update README instructions for ESLint 9 and ESM
  • Updated devDependencies
  • Specified peerDependencies