import-js / eslint-plugin-import

ESLint plugin with rules that help validate proper imports.
MIT License
5.57k stars 1.57k forks source link

Add new resolver to wiki #3103

Closed romanlex closed 6 days ago

romanlex commented 1 week ago

Hello Can you add new resolver to wiki page https://github.com/import-js/eslint-plugin-import/wiki/Resolvers

@helljs/eslint-import-resolver-x

This is fork of eslint-import-resolver-typescript but much faster and more efficient. You can save time on project linting by (~30-40%)

for example eslint-import-resolver-x makes 10 MILLION fewer statx sys calls on codebase with 100 000 LOC

Image

ljharb commented 6 days ago

Done, but you may want to consider making a PR to the upstream to improve its performance :-)

romanlex commented 6 days ago

Thank you.

My resolver should work the same with us or ts and also does not have typescript or javascript in the naming.

I'm thinking about further optimizations that will reduce the time spent on resolving to a minimum, I have no desire to try to reincarnate a package that everyone has forgotten.