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
{{ message }}
This repository was archived by the owner on May 1, 2025. It is now read-only.
With a recent update, eslint became unreasonably slow, with lints running at 7 minutes locally. I think this started happening after a ts-eslint or import-plugin update. A good chunk of time seems to be taken by the import/no-restricted-paths rule currently, like 2 whole minutes.
I think the native no-restricted-imports could match the functionality, with the exception that it does not accept "per-directory" options. This can be achieved by using the native eslint overrides, but these overrides cancel out any other config for this rule, unless you manually re-apply it, like: