# oxlint — card for AI agents

Fast JavaScript linter written in Rust with zero-config defaults.

Category: Linting and formatting · npm package `oxlint` · latest version 1.90.0 (checked 2026-11-01)
Install: `npm install oxlint`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Rules for AI agents (paste into AGENTS.md or CLAUDE.md)

## 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.

## Agent Skills for it
- oxlint from midudev/autoskills: `npx skills add midudev/autoskills --skill oxlint`

## Docs written for agents
- [llms.txt (index of the docs)](https://oxc.rs/llms.txt)

## What it is
- Oxlint is the linter in Oxc, the Oxidation Compiler. The README describes Oxc as "a collection of high-performance tools for JavaScript and TypeScript written in Rust" and places it within VoidZero's toolchain. The project site calls Oxlint an "ESLint-compatible linter" with "800+ rules and growing". It also lists "True type-aware Linting powered by tsgo" and "Support for ESLint JS Plugins". Formatting is handled by a separate sibling tool, Oxfmt.
- You run it with `npx oxlint@latest`. Configuration goes in `.oxlintrc.json` or `oxlint.config.ts`. The docs index covers several topics:<br>- built-in plugin rule sets<br>- safe, suggested and dangerous automatic fixes<br>- a page on configuring coding agents to use Oxlint and Oxfmt<br>The repository is MIT licensed and was created on 2023-02-09. The latest listed release is oxlint_v1.93.0, published 2026-11-09.
- It is aimed at JavaScript and TypeScript codebases. One team with more than 6,000 React and TypeScript files writes that its pre-commit lint had become slow enough that developers were skipping it. That team switched to Oxlint.

## Caveats
- Some ESLint rules have no equivalent: Expo's shared config lists rules it cannot cover with Oxlint. Among them are `no-dupe-args`, `no-octal`, `import/order` and `react/jsx-no-bind`. Expo says you either keep ESLint running alongside Oxlint for those rules or accept the gap.
- Only the script part of Svelte files: The ver0 maintainers write that Oxlint lints only the `<script>` blocks of `.svelte` files. Template and runes rules still need eslint-plugin-svelte. They also say JSON and Markdown are not Oxlint's domain.
- Sharing configs needs the TS format: According to ver0, `.oxlintrc.json` cannot resolve npm packages in `extends`. Shared configs therefore require the TypeScript config format.
- Overrides can lose to presets: ver0 reports that Oxlint merges your top-level overrides before the extended configs, so preset overrides win. Rules of a plugin that is enabled only inside an override are silently ignored unless your override redeclares the plugin.
- Type information needs another package: Rules that need type information require installing `oxlint-tsgolint` separately.

## Numbers (AgentGid data)
- Gid Score: 82.8 (#57 of all tools, 3 of 83 in its category)
- Used in 204 public projects set up for AI coding agents (3.3%)
- Downloads last week: 54,232,040 (as of 2026-11-24), +81.3% over 4 weeks
- GitHub stars: 23,581 (as of 2026-11-24)
- Last push: 2026-11-24

## Often used with
oxfmt 76.5%, oxlint-tsgolint 45.1%, Vitest 59.3%, TypeScript 92.2%, yaml 25.5%, Zod 49.5%

## Checked alternatives (same job)
- ESLint: https://agentgid.com/tools/eslint/agent.md
- Biome: https://agentgid.com/tools/biomejs/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/oxlint/
- Homepage: https://oxc.rs/docs/guide/usage/linter
- Repository: https://github.com/oxc-project/oxc
- Source: https://github.com/oxc-project/oxc#readme
- Source: https://github.com/oxc-project/oxc
- Source: https://github.com/oxc-project/oxc/releases
- Source: https://oxc.rs
- Source: https://oxc.rs/llms.txt

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
