You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be beneficial for us to look for xo being actually installed as opposed to just being listed in package.json - for example by trying to require it or by looking at package.json under <project-root>/node_modules/xo.
This will help address issues when xo is installed in a project as a transitive dependency of some other packages.
I can also look into creating an MR for this if you think it's a good idea.
The text was updated successfully, but these errors were encountered:
Hi @SamVerschueren, first of - thank you so much for your efforts on this extension.
While using this extension, I noticed we look for
xo
being listed as dependency in thepackage.json
at project root to enable the linting experience.See relevant code here and here
It might be beneficial for us to look for
xo
being actually installed as opposed to just being listed inpackage.json
- for example by trying to require it or by looking atpackage.json
under<project-root>/node_modules/xo
.This will help address issues when
xo
is installed in a project as a transitive dependency of some other packages.I can also look into creating an MR for this if you think it's a good idea.
The text was updated successfully, but these errors were encountered: