-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
eslint performance drops ~7x when upgrading from 2.26.0
to 2.27.5
#2705
Comments
Nope, no idea, but hopefully soon. #2755 only changed eslint-module-utils, and that's been published. |
I tried upgrading to The main time differences are below. This is
and this is
There's a new dependency on |
I have updated from After I have turned off /** .eslintrc.cjs */
// All but the most important parts have been omitted.
module.exports = {
rules: {
'import/no-cycle': 'off', // Turned off to prevent circular import check.
}
} This may not be a solution for those who require |
Try 2.30.0, an optimization to This issue looks very similar to: |
Closing; please file a new issue if you're still seeing perf issues in v2.30+. |
I was looking at upgrading our
eslint-plugin-import
package from 2.26.0 to 2.27.5 but when I runeslint
after the upgrade, our lint time goes up from ~90 seconds to ~600 seconds.Relevant sections from our package.json:
Here's an excerpt of a run of
eslint --debug .
2.26.0:
2.27.5:
Happy to provide additional logs or configs in case it would be helpful in reproing and debugging.
The text was updated successfully, but these errors were encountered: