oxlint v0.3.4
What's Changed
- feat(linter): move react/rules_of_hooks to nursery
- feat(linter/eslint): Implement max-classes-per-file by @jelly in #3241
Full Changelog: oxlint_v0.3.3...oxlint_v0.3.4
From v0.3.3
What's Changed
Features
- add
--symlinks
to allow symbolic walking by @Boshen in #3244 - add
--format github
for github check annotation by @Boshen in #3191 - change the category of all react-perf rules to perf by @Dunqing in #3243
- remove deprecated eslint v9 rules
no-return-await
andno-mixed-operators
by @Boshen in #3188 - move prefer-node-protocol to restriction by @Boshen in #3171
New Rules
- react/rules-of-hooks by @rzvxa in #3071
- eslint/radix by @KubaJastrz in #3167
- eslint/no-new-native-nonconstructor by @Boshen in #3187
- eslint/unicode-bom by @jelly in #3239
- eslint/no-empty-function rule by @jelly in #3181
- eslint-plugin-next/no-duplicate-head by @Boshen in #3174
- eslint-plugin-next/no-page-custom-font by @Dunqing in #3185
- eslint-plugin-next/no-styled-jsx-in-document by @Dunqing in #3184
- unicorn/no-anonymous-default-export by @1zumii in #3220
Bug Fixes
- improve
prefer-string-starts-ends-with
rule by @camc314 in #3176 - import/export: improve multiple exports error message by @Dunqing in #3160
- import/named: handle
import { default as foo }
by @Boshen in #3255 - shorten eslint/eqeqeq rule error message's span by @mysteryven in #3193
- fix(parser): correctly parse cls.fn = x by @Dunqing in #3208
New Contributors
- @KubaJastrz made their first contribution in #3167
- @1zumii made their first contribution in #3220
Full Changelog: oxlint_v0.3.2...oxlint_v0.3.3