> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Oxlint

> CodeRabbit's guide to Oxlint.

[Oxlint](https://oxc.rs/docs/guide/usage/linter) is a blazingly fast JavaScript/TypeScript linter written in Rust that is 50-100x faster than ESLint. CodeRabbit runs Oxlint version 1.70.0.

## Supported Files

Oxlint will run on files with the following extensions:

* `.js`
* `.mjs`
* `.cjs`
* `.jsx`
* `.ts`
* `.mts`
* `.cts`
* `.tsx`
* `.vue`
* `.astro`
* `.svelte`

## Configuration

Oxlint supports the following configuration files:

* `.oxlintrc.json`
* `oxlintrc.json`
* `.oxlintrc`
* `oxlint.json`

<Info>
  CodeRabbit only runs Oxlint when an Oxlint config file is present and Biome is disabled.
</Info>

## Security policy and restrictions

CodeRabbit runs Oxlint in a sandbox. Because JavaScript-based plugins can execute repository-controlled code, CodeRabbit does not run Oxlint analysis when the Oxlint configuration enables them. A non-empty `jsPlugins` array at the top level or inside any `overrides` entry causes CodeRabbit to skip Oxlint analysis. Configurations that omit `jsPlugins` or set it to an empty array continue to receive Oxlint findings as before.

Oxlint's built-in `plugins` setting continues to work and does not affect eligibility.

## When we skip Oxlint

CodeRabbit will skip running Oxlint when:

* Oxlint is already running in GitHub workflows.
* No Oxlint config file is found.
* Biome is enabled.
* The Oxlint configuration declares a non-empty JavaScript plugins array (`jsPlugins`) at the top level or inside any `overrides` entry.
* The repository's Oxlint configuration cannot be read, is not valid JSON, or does not parse to a JSON object.

## Links

* [Oxlint GitHub Repository](https://github.com/oxc-project/oxc/releases/)
* [Oxlint Website](https://oxc.rs/docs/guide/usage/linter)
