v1.89.0.
Files
Oxlint will run on files with the following extensions:.js.mjs.cjs.jsx.ts.mts.cts.tsx.vue.astro.svelte
Configuration
- .coderabbit.yaml
- Web UI
.coderabbit.yaml
.oxlintrc.jsonoxlintrc.json.oxlintrcoxlint.json
extends are resolved from the directory of the file that contains them.
CodeRabbit only runs Oxlint when an Oxlint config file is present and Biome is disabled.
Security policy and restrictions
CodeRabbit runs Oxlint in a sandbox. JavaScript plugins can run code from your repository, so before running Oxlint, CodeRabbit checks your config and every config it inherits throughextends. If any of them has a non-empty jsPlugins array, at the top level or inside an overrides entry, CodeRabbit skips Oxlint. Oxlint runs normally when every config in the chain omits jsPlugins or leaves it empty.
Oxlint’s built-in plugins setting works normally and doesn’t cause a skip.
When we skip Oxlint
CodeRabbit will skip running Oxlint when:- Oxlint is disabled in your CodeRabbit configuration.
- No files in the pull request match the supported extensions.
- Oxlint is already configured in GitHub Actions, GitLab CI, CircleCI, or Azure Pipelines.
- No Oxlint config file is found.
- Biome is enabled.
- The config, or a config it inherits through
extends, has a non-emptyjsPluginsarray at the top level or inside anoverridesentry. - The config, or a config it inherits, can’t be read, isn’t valid JSONC, or isn’t a JSON object.
- An
extendsvalue isn’t an array of non-empty paths, or it lists more than 256 entries. - An
extendspath points outside the repository or goes through a symlink. - The
extendschain loops back on itself or includes more than 256 different config files. - Oxlint reports a configuration parsing, loading, or resolution failure on the first file. CodeRabbit then skips the remaining files.