-
-
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 with global installed eslint #22
Comments
The issue you referred to is now resolved and there is the I'm wondering whether the issue can be solved by feeding the |
eslint_d 3.0.0 now passes on the |
@mantoni thanks for the update! Looks like it works for me 👍 How eslint_d resolve |
The resolve mechanics didn't change. |
Hi @mantoni , the
Am I missing something? |
The |
Hi, I still the problem of
eslint
which is installed globally. Currently, if eslint_d cannot foundeslint
under working dir, it will load theeslint
which installed undereslint_d
.Everything works just fine until I need to load
eslint-plugin-*
. these plugins are installed globally also. And they are loaded byeslint
.eslint
seems not looking for globalplugins
if it's installed and loaded as a local module. An issue may relevant to this: eslint/eslint#4472I am just thinking that would it makes more sense for
eslint_d
to load globaleslint
instead of localeslint
undereslint_d
?I made a small change to the way of loading
eslint
, and I tested it witheslint_d cli
andvim
. It works just fine.I will make a pull request for this :)
The text was updated successfully, but these errors were encountered: