Oxlint lints your entire codebase in the time ESLint takes to lint one file. Written in Rust, it is the fastest JavaScript/TypeScript linter ever built.
Speed Comparison
# Lint a large project (10,000 files)
eslint: 45 seconds
biome: 0.8 seconds
oxlint: 0.4 seconds # 100x faster than ESLint
Oxlint is 50-100x faster than ESLint and 2x faster than Biome for linting.
Setup
npm install oxlint
npx oxlint@latest
No config file needed. Runs with sensible defaults immediately.
What It Catches
Oxlint includes 400+ rules from:
- ESLint core rules
- typescript-eslint rules
- eslint-plugin-react
- eslint-plugin-react-hooks
- eslint-plugin-jsx-a11y
- eslint-plugin-import
- eslint-plugin-unicorn
- eslint-plugin-jest
- eslint-plugin-vitest
- eslint-plugin-promise
- eslint-plugin-n (Node.js)
All built-in. Zero plugins to install.
Configuration
// .oxlintrc.json
{
"rules": {
"no-unused-vars": "warn",
"no-console": "off",
"eqeqeq": "error",
"no-var": "error",
"prefer-const": "warn",
"react-hooks/exhaustive-deps": "warn"
},
"env": {
"browser": true,
"node": true
},
"globals": {
"process": "readonly"
}
}
Use with ESLint (Gradual Migration)
Oxlint can run alongside ESLint:
# Run oxlint first (fast), then ESLint for remaining rules
npx oxlint && npx eslint .
The eslint-plugin-oxlint automatically disables ESLint rules that oxlint covers:
npm install eslint-plugin-oxlint
// eslint.config.js
import oxlint from "eslint-plugin-oxlint";
export default [
...oxlint.configs["flat/recommended"],
// Your other ESLint rules
];
This way:
- Oxlint handles 400+ rules (instant)
- ESLint handles remaining custom rules
- No duplicate warnings
VS Code Integration
Install the "oxc" extension for real-time linting in your editor.
Part of the Oxc Toolchain
Oxlint is part of Oxc (Oxidation Compiler):
- Oxlint — Linter (50-100x faster than ESLint)
- Oxc Parser — JS/TS parser (3x faster than SWC)
- Oxc Transformer — TypeScript/JSX transform
- Oxc Resolver — Module resolver
- Oxc Minifier — Code minifier (coming)
All written in Rust, all focused on speed.
When to Use Oxlint vs Biome
Oxlint: Fastest linter. Use alongside ESLint for gradual migration.
Biome: Linter + formatter. Use to replace both ESLint AND Prettier.
Need fast developer tooling? I build web tools and data solutions. Email spinov001@gmail.com or check my Apify tools.
Top comments (0)