-
-
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
problem of eslint_d with vim #17
Comments
Thanks for reporting. This might be an unintended side effect of the last feature release. Looking into it. You can try and downgrade in the meantime. |
Ok, so this is not a bug. I'm not sure whether I can help improve this for you. However, you could create a local symlink to your global modules with |
@mantoni thank your for your answer. I use |
No, |
A bit findings after digging into this problem.
I first run this in the root dir of my project(no eslint installed locally),
My guess: |
I have the same issue and I found that the resolve.sync module will not return null if module not found, instead, it will throw an error. So we should wrap it into a try ... catch` clause. PR #18 has already pushed. |
For me it helped when I restarted |
eslint_d doesn't work with vim if
eslint
and eslint plugins like 'eslint-plugin-react' are not installed locally. While useeslint
, the linting works eveneslint
and it's plugins are installed globally.The text was updated successfully, but these errors were encountered: