-
Notifications
You must be signed in to change notification settings - Fork 69
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
Webstorm Integration not working #106
Comments
Do you know which version of eslint your IDE integration is expecting? |
Same problem here with webstorm 2019.2.3 congratulations for eslint_d. amazing package |
Thank you! While I'd like to support other editors, my personal need is focused on vim. Therefore I rely on the community to fix issues in other editors. I would totally merge any PRs or improve documentation if anyone has an idea why this is happening for Webstorm users. ❤️ |
StackTrace:
My IntelliJ IDEA version:
Dependencies:
Node 10.16.0 |
I played around with this a little bit as this error is still out there. @mantoni does eslint_d provide a class? If not, do you see a way to implement this? |
Same problem here with latest PHPStorm and WEBStorm. It would very useful have a working eslint_d integration, because the default eslint integration has lot of problems with large files/codebases. |
Hm, that's a tricky one since If WebStorm tries to create an instance of the ESLint class we'd have to implement a compatible class for I'm also wondering if that would actually make anything faster. Are they creating the class instance for every linter invocation? Then yes. If they're caching the instance and reuse it, then this is exactly what Isn't there a way in WebStorm to delegate linting to a command line tool? |
@pasor1 I think the integration is now broken as I could not make any progress. Another idea for working with large codebases is activating the |
I also did not manage to configure
This is quite unfortunate as it seems the So, as for today, there really seems no ways to improve eslint performance in Webstorm 😭 |
If WebStorm uses the ESLint API directly, then it's the editors responsibility to handle instance caching. |
I'm getting the error
Initialization error (ESLint). Cannot find module '<PATH_TO_NVM>/.nvm/versions/node/v10.13.0/lib/node_modules/eslint_d/lib/api'
when I try the Webstorm integration.
Steps to reproduce:
Preferences
.Languages & Frameworks
>JavaScript
>Code Quality Tools
>ESLint
Manual ESLint Configuration
ESLint package
set it to your local eslint_dThe text was updated successfully, but these errors were encountered: