ESLint 9 + Stylistic
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
tono-restricted-syntax.js
to work better with ESLint v9 - Update README instructions for ESLint 9 and ESM
- Updated
devDependencies
- Specified
peerDependencies