oxlint
Fast JavaScript linter written in Rust with zero-config defaults.
3. Used by agents' projects
Dependency in 204 public GitHub projects set up for AI coding agents that we scanned (3.3%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
oxc.rs/llms.txtFrom the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What oxlint does
Oxlint is an ESLint-compatible linter from the Rust-based Oxc toolchain. Its maintainers claim it is "50~100x faster than ESLint" and that its type-aware linting is "powered by tsgo".
oxlint popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How oxlint is used
- oxlint is a dependency in 204 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (4.2% of the 4,867 JavaScript/TypeScript ones), #4 of 83 in linting and formatting.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 449; those are left out of every share on this page.
- The most used alternative in our scan is ESLint (2,282 projects).
- Projects that use it most often also use oxfmt (76.5%), oxlint-tsgolint (45.1%), Vitest (59.3%).
- It is more common in projects set up for OpenClaw (10.8%) than for GitHub Copilot (2.6%).
By coding agent
Often used with
oxlint in practice
Strengths
The project site claims Oxlint is "50~100x faster than ESLint". One team that migrated reports "~50× faster feedback" on its own codebase. That is a single report, not an independent check of the range.
The site lists "True type-aware Linting powered by tsgo" next to "Support for ESLint JS Plugins".
The ver0 maintainers write that every rule their configs enable is built into the oxlint binary. As a result, their configs need no plugin dependencies.
Rules are grouped into categories such as correctness, suspicious, pedantic and perf. The ver0 configs enable these categories wholesale, so new rules in them arrive with linter updates.
Watch out for
Expo's shared config lists rules it cannot cover with Oxlint. Among them are <code>no-dupe-args</code>, <code>no-octal</code>, <code>import/order</code> and <code>react/jsx-no-bind</code>. Expo says you either keep ESLint running alongside Oxlint for those rules or accept the gap.
The ver0 maintainers write that Oxlint lints only the <code><script></code> blocks of <code>.svelte</code> files. Template and runes rules still need eslint-plugin-svelte. They also say JSON and Markdown are not Oxlint's domain.
According to ver0, <code>.oxlintrc.json</code> cannot resolve npm packages in <code>extends</code>. Shared configs therefore require the TypeScript config format.
Lint a codebase
npx oxlint@latestMore about oxlint
Funding
- Open Collective: https://opencollective.com/oxc
- GitHub Sponsors: https://github.com/sponsors/oxc-project
- 5 GitHub sponsors
Agent Skills for it
- oxlint: Run and configure oxlint — the high-performance JavaScript/TypeScript linter built on the Oxc compiler stack. Use this skill whenever workin
Head to head
- ESLint vs oxlint used together in 41 projects
Packages around it
- oxfmt: Oxc's Prettier-compatible formatter
- oxlint-tsgolint: type-aware lint backend
- vitest: test runner
- typescript: TypeScript compiler
- zod: schema validation
- yaml: YAML parser
More in Linting and formatting
Alternatives
oxlint This page
Linter that finds and fixes JavaScript code patterns based on AST analysis.
Fast web toolchain providing linting, formatting and code quality all in one.
Get started
Install it.
npm install oxlintRules for your agent
## Oxlint
- Lint with `npx oxlint@latest`. Formatting is a separate tool: `npx oxfmt@latest`.
- Put configuration in `.oxlintrc.json` or `oxlint.config.ts`. To extend shared configs from npm, use `oxlint.config.ts` with `defineConfig` from `oxlint`, because `.oxlintrc.json` cannot resolve npm packages in `extends`.
- Automatic fixes come in three kinds: safe, suggested and dangerous (see the Automatic fixes docs page).
- `--fix` also removes unused `oxlint-disable` directives.
- Type-aware rules (`typeAware: true`) need `oxlint-tsgolint` installed. To turn type-aware linting off in a consuming config, set `options: { typeAware: false }`.
- To override rules from extended presets, add your overrides as the last `extends` entry. Redeclare any plugin whose rules you change inside an override.