Oxc is part of VoidZero's vision for a unified, high-performance toolchain for JavaScript.
Oxlint is the fastest linter for JavaScript and TypeScript. It targets compatibility with the ESLint ecosystem.
Our benchmarks show Oxlint is 50 to 100 times faster than ESLint.
Oxlint - The JavaScript Oxidation Compiler
Migrating from ESLint #
Migrating was easy as Oxlint has a migration tool @oxlint/migrate.
There were a few unsupported rules.
11ty-equk (dev)$ npx @oxlint/migrate eslint.config.js --with-nursery
✨ .oxlintrc.json created with 62 rules.
Skipped 17 rules:
- 15 Not Implemented (Not yet in oxlint: no-useless-assignment, n/no-deprecated-api, n/no-extraneous-import, and more)
- 2 Unsupported (Won't be implemented: no-dupe-args, no-octal)
Tip: Use --details to see the full list.
🚀 Next:
npx oxlint .
The migration tool picked up ignorePatterns, rules & jsPlugins automatically.
"ignorePatterns": [
"_site/**/*",
"dist/**/*",
"public/**/*",
"src/_assets/**/*"
],
Keeping Prettier #
My ESLint setup used the prettier plugin (eslint-plugin-prettier) to apply styles on lint.
This ensures everything is formatted automatically.
It is possible to keep this plugin with Oxlint.
"jsPlugins": ["eslint-plugin-prettier"],
In the future it should be possible to move from prettier to oxfmt.
Pull Request #
The pull request for these changes is available on github.
Change linter to Oxlint pull request on github