Try it out!
- Run
npx --yes oxlint@latest .
from your terminal - Install the Vscode extension https://marketplace.visualstudio.com/items?itemName=oxc.oxc-vscode
What's Changed
Features
Use the following cli flags to enable the import / jest / jsx-a11y plugins
Enable Plugins
--import-plugin Enable the experimental import plugin and detect ESM problems
--jest-plugin Enable the Jest plugin and detect test problems
--jsx-a11y-plugin Enable the JSX-a11y plugin and detect accessibility problems
New rules by category (19 in total)
Correctness (turned on by default)
- eslint-plugin-unicorn: no-invalid-remove-event-listener by @camc314 in #1147
- eslint-plugin-unicorn: no-useless-fallback-in-spread @camc314 in #1176
- eslint-plugin-jsx-a11y: alt-text by @manzt in #1126
Suspicious
- eslint-plugin-unicorn: no-new-array by @camc314 in #1160
- eslint-plugin-unicorn: prefer-add-event-listener by @camc314 in #1175
Pedantic
- eslint-plugin-unicorn: prefer-type-error by @camc314 in #1149
- eslint-plugin-unicorn: new-for-builtins by @camc314 in #1159
- eslint-plugin-unicorn: no-new-buffer by @camc314 in #1174
- eslint-plugin-unicorn: prefer-date-now by @camc314 in #1150
- eslint-plugin-unicorn: prefer-regex-test by @camc314 in #1187
- eslint-plugin-unicorn: no-static-only-class by @camc314 in #1161
- eslint-plugin-unicorn: prefer-blob-reading-methods by @camc314 in #1168
- eslint-plugin-unicorn: prefer-code-point by @camc314 in #1167
- eslint-plugin-unicorn: no-object-as-default-parameter by @camc314 in #1162
Style
- eslint-plugin-unicorn: prefer-string-trim-start-end by @camc314 in #1148
- eslint-plugin-jest: prefer-todo rule by @eryue0220 in #1065
- eslint-plugin-react(jsx_key): ignore ObjectProterty nodes by @yesmeck in #1139
- eslint: default-case-last by @PerfectPan in #1156
Nursery
- eslint-plugin-import: no-amd by @qinyuhang in #1171
- eslint-plugin-jest: no-hooks by @eryue0220 in #1172
Fixes
- reduce the lookup times of Call Expression in Jest rules by @mysteryven in #1184
- parse configuration for unicorn/filename-case by @camc314 in #1145
- fix covered span of eslint-disable-next-line comments by @haocheng6 in #1128
New Contributors
- @Ubugeeei made their first contribution in #1136
- @PerfectPan made their first contribution in #1156
- @qinyuhang made their first contribution in #1171
Full Changelog: oxlint_v0.0.15...oxlint_v0.0.16