Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/modules/eslint-plugin-import.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,12 @@ module.exports = {
}
}
```

## Oxlint

[Oxlint](https://oxc.rs/docs/guide/usage/linter.html) is a high-performance linter for JavaScript and TypeScript, built on the Rust-based `Oxc` compiler stack. It's intended to be fully backwards-compatible with ESLint, having ported most of the ESLint rules, as well as those from popular plugins including `eslint-plugin-import`.

The migration process from ESLint is covered in [the Oxlint documentation](https://oxc.rs/docs/guide/usage/linter/migrate-from-eslint.html), and can be done automatically from an ESLint flat config using [`npx @oxlint/migrate`](https://github.com/oxc-project/oxlint-migrate).

> [!NOTE]
> Oxlint is not necessarily a full drop-in replacement, as not all of the `eslint-plugin-import` rules have been, or will be, implemented. Check [the GitHub issue](https://github.com/oxc-project/oxc/issues/1117) to view the progress.
9 changes: 9 additions & 0 deletions docs/modules/eslint-plugin-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@ export default [

> [!NOTE]
> `@eslint-react/eslint-plugin` is not a drop‑in replacement. Use [their migration guide](https://www.eslint-react.xyz/docs/migrating-from-eslint-plugin-react) to map rules/options and automate changes where possible.

## Oxlint

[Oxlint](https://oxc.rs/docs/guide/usage/linter.html) is a high-performance linter for JavaScript and TypeScript, built on the Rust-based `Oxc` compiler stack. It's intended to be fully backwards-compatible with ESLint, having ported most of the ESLint rules, as well as those from popular plugins including `eslint-plugin-react`.

The migration process from ESLint is covered in [the Oxlint documentation](https://oxc.rs/docs/guide/usage/linter/migrate-from-eslint.html), and can be done automatically from an ESLint flat config using [`npx @oxlint/migrate`](https://github.com/oxc-project/oxlint-migrate).

> [!NOTE]
> Oxlint is not necessarily a full drop-in replacement, as not all of the `eslint-plugin-react` rules have been, or will be, implemented. Check [the GitHub issue](https://github.com/oxc-project/oxc/issues/1022) to view the progress.
9 changes: 7 additions & 2 deletions manifests/preferred.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
"eslint-plugin-import": {
"type": "module",
"moduleName": "eslint-plugin-import",
"replacements": ["eslint-plugin-import-x"],
"replacements": ["eslint-plugin-import-x", "oxlint"],
"url": {"type": "e18e", "id": "eslint-plugin-import"}
},
"eslint-plugin-node": {
Expand All @@ -279,7 +279,7 @@
"eslint-plugin-react": {
"type": "module",
"moduleName": "eslint-plugin-react",
"replacements": ["@eslint-react/eslint-plugin"],
"replacements": ["@eslint-react/eslint-plugin", "oxlint"],
"url": {"type": "e18e", "id": "eslint-plugin-react"}
},
"eslint-plugin-vitest": {
Expand Down Expand Up @@ -3323,6 +3323,11 @@
"type": "documented",
"replacementModule": "oxc-resolver"
},
"oxlint": {
"id": "oxlint",
"type": "documented",
"replacementModule": "oxlint"
},
"package-manager-detector": {
"id": "package-manager-detector",
"type": "documented",
Expand Down