Open billyvg opened 3 years ago
The problem is where is eslint executable when you're using yarn2?
@chemzqm It's in .yarn/sdks/eslint/bin/eslint.js
and in my .vim/coc-settings.json
I have this config: "eslint.nodePath": ".yarn/sdks"
. (This was done by the pnpify
package). I've also tried the full path and it does not work.
Also odd, my TSC works fine:
Where is eslint executable inside ".yarn/sdks" ?
It's .yarn/sdks/eslint/bin/eslint.js
Is there a way to configure it to just run yarn eslint
instead of eslint
? That would seem to be the fix.
I have looked at existing issues like #11, #46, #49 and have followed suggestions there and still can't get this working.
I have run
I have the shims in
.yarn/sdks
, the config file is correct. If I run:CocLocalConfig
, it brings up the correct config file.When I run
:CocCommand eslint.lintProject
this is the error I get:Other logs