You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just saw that eslint-config-next pulls in eslint-plugin-import, eslint-plugin-jsx-a11y and eslint-plugin-react. These dependencies are known to be full of bloat dependencies, polyfills and support for ancient node versions.
The text was updated successfully, but these errors were encountered:
mcmxcdev
changed the title
Migrate eslint-config-next to eslint-plugin-import-x and eslint-react
Migrate eslint-config-next to eslint-plugin-import-x and eslint-reactOct 3, 2024
Biome does have accessibility rules ported over from eslint-plugin-jsx-a11y, see https://biomejs.dev/linter/rules/#accessibility but projects would need to be open to embrace another tool rather than just another eslint plugin.
I just saw that
eslint-config-next
pulls ineslint-plugin-import
,eslint-plugin-jsx-a11y
andeslint-plugin-react
. These dependencies are known to be full of bloat dependencies, polyfills and support for ancient node versions.See: https://github.com/vercel/next.js/blob/b68c188450f1d4ed932e9e28e9be2b5562bfe306/packages/eslint-config-next/package.json#L19-L21
Although probably not a 100% replacement in terms of rulesets, I would suggest moving from:
eslint-plugin-import
-> https://github.com/un-ts/eslint-plugin-import-xeslint-plugin-react
-> https://github.com/Rel1cx/eslint-reacteslint-plugin-jsx-a11y
doesn't have an equivalent replacement afaik, but [Roadmap] Milestone 3.0 (Draft) Rel1cx/eslint-react#335 is talking about a futureeslint-plugin-react-dom-a11y
pluginThe text was updated successfully, but these errors were encountered: