---
title: "oxlint"
description: "Runs oxlint, a fast Rust linter for JavaScript and TypeScript. Uses a sanitized copy of the project's .oxlintrc.json (rules, categories, plugins only): `jsPlugins` are removed because they would load project JavaScript, and JS config files are never read. When the project depends on React, Preact or Next.js and its config lists no plugins, oxlint's react (including the React hooks rules), jsx-a11y and nextjs plugins are turned on."
url: https://openaudit.se/auditors/code.oxlint/
---

# oxlint

`code.oxlint`

Runs oxlint, a fast Rust linter for JavaScript and TypeScript. Uses a sanitized copy of the project's .oxlintrc.json (rules, categories, plugins only): `jsPlugins` are removed because they would load project JavaScript, and JS config files are never read. When the project depends on React, Preact or Next.js and its config lists no plugins, oxlint's react (including the React hooks rules), jsx-a11y and nextjs plugins are turned on.

- **Engine:** Wrapped scanner
- **Wraps:** `oxlint`
- **Targets:** Codebase
- **Areas:** Maintainability, Reliability, Accessibility, Performance
- **Runs:** By default, when the target applies
- **Network:** Only the target itself

## Run only this auditor

```sh
bunx @openaudit/cli . --only code.oxlint
```

Wraps oxlint. When it isn't installed, the auditor is skipped with an install hint and the rest of the audit runs.

## More maintainability auditors

- [Code quality](https://openaudit.se/auditors/code.quality/) (`code.quality`)
- [Code Health](https://openaudit.se/auditors/code.health/) (`code.health`)
- [Change coupling and knowledge](https://openaudit.se/auditors/code.history/) (`code.history`)
- [Language strictness config](https://openaudit.se/auditors/code.strictness/) (`code.strictness`)
- [jscpd copy-paste detection](https://openaudit.se/auditors/code.jscpd/) (`code.jscpd`)
- [knip unused code scan](https://openaudit.se/auditors/code.knip/) (`code.knip`)
- [Biome lint](https://openaudit.se/auditors/code.biome/) (`code.biome`)
- [ESLint](https://openaudit.se/auditors/code.eslint/) (`code.eslint`)
