Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider replacing eslint-plugin-import with eslint-plugin-import-x #1078

Open
ronanru opened this issue Jun 22, 2024 · 0 comments
Open

Consider replacing eslint-plugin-import with eslint-plugin-import-x #1078

ronanru opened this issue Jun 22, 2024 · 0 comments

Comments

@ronanru
Copy link

ronanru commented Jun 22, 2024

You should replace eslint-plugin-import with eslint-plugin-import-x. The latter is a fork that runs faster and has no unnecessary dependencies.

For some reason eslint-plugin-import depends on polyfils for stuff like Array.flat and Object.fromEntries (They still support node 4). import-x removes them. It also uses get-tsconfig library instead of typescript for parsing tsconfig.json making it a lot faster.

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

No branches or pull requests

1 participant