-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Relax rule: import/no-absolute-path #861
Comments
Confirmed a noticable (150-200ms) improvement on a real-world repo ( Before:
After:
|
Released as 10.0.2 |
This rule will be re-enabled in standard v14 since the performance issues with it have been fixed now See: #1343 ✨ |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I would like to relax the
import/no-absolute-path
rule which "Forbids import of modules using absolute paths". It's not that I think absolute imports are a good idea, it's just that this rule is incredibly slow!I opened an issue about it on the
eslint-plugin-import
repo: import-js/eslint-plugin-import#803Almost 25% of linting time is spent in that one rule. Since this isn't actually a very common error (0 repos in our test suite actually failed when this was added, it's no big deal to just remove it, IMO)
Here's the raw output:
The text was updated successfully, but these errors were encountered: