Skip to content

feat(preferred): Add oxlint as an alternative for eslint-plugin-import and eslint-plugin-react#664

Open
connorshea wants to merge 8 commits into
e18e:mainfrom
connorshea:add-oxlint-as-replacement
Open

feat(preferred): Add oxlint as an alternative for eslint-plugin-import and eslint-plugin-react#664
connorshea wants to merge 8 commits into
e18e:mainfrom
connorshea:add-oxlint-as-replacement

Conversation

@connorshea
Copy link
Copy Markdown
Contributor

🔗 Linked issue

Resolves #663.

📚 Description

Suggest Oxlint as an alternative to these two plugins, as both plugins' rules are supported natively (though only a large majority of the rules, not all of the rules).

I added the disclaimer about Oxlint not being a full drop-in replacement to match the disclaimer on the eslint-plugin-react page about the @eslint-react/eslint-plugin package. The disclaimer is a bit repetitive since it's basically mentioned twice in each of these pages (again, to match how the@eslint-react/eslint-plugin package section was written), I can simplify it to just the NOTE section if preferred.

I've also added oxlint in the preferred JSON file for these two packages. I can add this to eslint-plugin-vitest as well, but it feels like a different kind of replacement given that the current entry is only technically about a package rename (eslint-plugin-vitest to @vitest/eslint-plugin). I think it's not a good idea to add for eslint-plugin-node right now, as only a small portion of the rules from that plugin have been ported to Oxlint so far.

eslint-plugin-import currently has 123 total deps and subdeps. So I think it's definitely worth suggesting alternatives.

You can see the Oxlint rules list here: https://oxc.rs/docs/guide/usage/linter/rules.html

And issues for tracking the rule porting process on each plugin here: oxc-project/oxc#481

… eslint-plugin-react.

I added the disclaimer about Oxlint not being a full drop-in replacement (though it's a bit repetitive since the disclaimer is basically mentioned twice in each of these pages) to match the disclaimer on `eslint-plugin-react` about the `@eslint-react/eslint-plugin` package.
Copilot AI review requested due to automatic review settings May 18, 2026 05:01

This comment was marked as spam.

connorshea and others added 3 commits May 17, 2026 23:03
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@43081j 43081j requested a review from ghostdevv May 18, 2026 19:23
Comment thread docs/modules/eslint-plugin-import.md Outdated
connorshea and others added 3 commits May 23, 2026 11:12
Co-authored-by: Willow (GHOST) <ghostdevbusiness@gmail.com>
@ghostdevv ghostdevv requested a review from 43081j May 23, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Oxlint as an alternative for eslint-plugin-react and eslint-plugin-import

3 participants