-
-
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
Including eslint-plugin-import
cause lint postpone
#1961
Comments
That’s very strange; with no rules enabled, i wouldn’t expect the plugin to do anything. If you remove all the other things from your config, do you still see this behavior? |
You mean other plugins? When config is run without |
Seems like without |
What’s in your webpack config? Perhaps the contents of that are contributing? |
Oh. Wow. Thank you, @ljharb! My webpack config returns promise, and looks like it was the reason of that stuck. Even more, this seems was a reason of memory leak, that was the initial reason of debugging eslint config. Looks like that Should i file another bug? |
Since eslint runs synchronously, I don't think it's possible for an async webpack config to integrate with eslint. |
Closing in favor of #883. |
That should be added to readme, to avoid further mistakes. |
Sure, a PR to do so would be appreciated. |
When including
eslint-plugin-import
(even without any rules) cause tests to "stuck" after showing lint results.Lint shows results, and then waits for some time before shell receives exit code.
Installed eslint dependencies:
Reduced eslint config
When un-commenting
import
line, i see this strange behaviour, like something happens in background after lint finished.The text was updated successfully, but these errors were encountered: