Try it out!
Run
npx --yes oxlint@latest .
in your JavaScript / TypeScript codebase and see it complete in milliseconds. No configurations required.npx oxlint@latest --help
for usage instructions.npx oxlint@latest --rules
for list of rules.
What's Changed
Linter
New Rules
- typescript-eslint: ban-types by @camc314 in #953
- eslint-plugin-jest: valid-expect by @mysteryven in #941
- eslint-plugin-jest: no-identical-title by @mysteryven in #957
- eslint-plugin-jest: valid-title by @mysteryven in #966
- eslint-plugin-jest: no-confusing-set-timeout by @eryue0220 in #938
- eslint-plugin-unicorn: filename-case by @Boshen in #978
- eslint-plugin-unicorn: catch-error-name by @camc314 in #984
- eslint-plugin-unicorn: no-console-spaces by @camc314 in #991
- eslint-plugin-unicorn: error-message by @camc314 in #992
- eslint-plugin-unicorn: prefer-array-flat-map by @camc314 in #997
- eslint-plugin-unicorn: throw-new-error by @camc314 in #1005
- eslint-plugin-react: jsx-key by @camc314 in #1016
- eslint-plugin-react: no-children-prop by @camc314 in #1015
- eslint-plugin-react: no-useless-fragment by @camc314 in #1021
- eslint-plugin-react: jsx-no-duplicate-props by @camc314 in #1024
- eslint-plugin-react: no-dangerously-set-inner-html by @camc314 in #1029
- eslint-plugin-react: jsx-no-comment-text-nodes by @camc314 in #1027
Fixes
- fix panic when no paths are provided by @camc314 in #944
- Fix oxlint --quiet suppressing errors by @developit in #1008
- fix panic with
strip_prefix
by @Boshen in #1013 - fix panic when linting declaration files by @camc314 in #1014
- incorrect reporting for jsx_key by @camc314 in #1020
Parser
- feat(parser): TypeScript 5.2 by @camc314 in #811
- fix(lexer) Fix spans for jsx children by @camc314 in #1030
New Contributors
Full Changelog: oxlint_v0.0.13...oxlint_v0.0.14