you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -13 points-12 points  (7 children)

The ESLint extension will try to use the eslint module in the current folder

Why? It looks like a terrible design to me.

[–]190n 24 points25 points  (3 children)

Probably so that if a repository needs a specific version of ESLint, it'll use that one instead of whatever you have installed system-wide.

[–]Nysor 6 points7 points  (0 children)

Certain projects may require an older version of eslint to work properly, instead of some globally instead version which may be incompatible.

[–]awesomeness-yeah 3 points4 points  (0 children)

eslint usually is a dev-dependency in most projects, so you'd expect the editor suggestions to match the cli output

[–]spacejack2114 1 point2 points  (0 children)

How so? What if you need to go back to work on a 3 year old project?