Vscode-eslint: Doesn't support globally installed eslint plugins

Created on 20 Nov 2015  路  6Comments  路  Source: microsoft/vscode-eslint

I have a plugin specified in my .eslintrc:

plugins: 
  - "babel"

and installed this plugin globally

npm install -g eslint-plugin-babel

but Code doesn't seem to be able to use it:
image

bug

All 6 comments

This also seems to be the case for locally-installed eslint plugins (specified in the package.json dependencies, not installed with the -g flag).

I also get exactly the same problem with the react eslint plugin, was going crazy thinking it was just me. Would be nice to see this supported. I'm going to see if I can do a PR for it sometime soon.

@nizmow locally installed plugins should work now. There is a test repository referenced by #9 which uses a react plugin and that now works with the latest eslint extension published (0.10.10). The problem in that case was that the plugin was writing to stdio which is not supported in a electron env. I will look into global plugins as well.

Global installed plugins still don't work.

Interestingly using a local installed eslint with a global install plugin on a command line isn't working either.

capture

capture

Since the vscode-eslint extension is using the available eslint api there is nothing I can do to make this work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

greggman picture greggman  路  7Comments

wmertens picture wmertens  路  7Comments

ablakey picture ablakey  路  5Comments

julian-sb1 picture julian-sb1  路  6Comments

Jamesernator picture Jamesernator  路  5Comments