Try it out!
- Run
npx --yes oxlint@latest
from your terminal - Install the VSCode extension https://marketplace.visualstudio.com/items?itemName=oxc.oxc-vscode
- Read the usage guide
New Rules
- eslint-plugin-next: no-document-import-in-page by @kaykdm in #1997
- eslint-plugin-next: no-head-element by @kaykdm in #2006
- eslint-plugin-next: no-typos by @kaykdm in #1978
- eslint-plugin-jsx-a11y: aria-activedescendant-has-tabindex by @keita-hino in #2012
- eslint-plugin-jsx-a11y: click-events-have-key-events by @leaysgur in #1976
- eslint-plugin-jsx-a11y: no-redundant-roles rule by @yossydev in #1981
- eslint-plugin-import: no-named-as-default-member rule by @XantreGodlike in #1988
Improvements
Linter
- fix(linter) fix false positive for
erasing-op
in0/0
case by @camc314 in #2009 - fix(linter): false positive for filename_case where filename doesn't have a proper casing by @Boshen in #2032
- fix(linter): keep rules disabled if the rule is not enabled in the config by @Boshen in #2031
41% faster after removing the --timings
feature
Parser - 7% faster than the previous version
- perf(parser): reduce
Token
size from 16 to 12 bytes by @Boshen in #2010 - perf(parser): lexer byte handlers consume ASCII chars faster by @overlookmotel in #2046
- perf(parser): lexer match byte not char by @overlookmotel in #2025
- refactor(parser): lexer handle unicode without branch by @overlookmotel in #2039
- refactor(parser): remove extraneous code from regex parsing by @overlookmotel in #2008
- refactor(parser): remove noop code by @overlookmotel in #2028
Full Changelog: oxlint_v0.2.0...oxlint_v0.2.1