If there are ESLint in both global and local, please use local's
See original GitHub issueCurrently, vscode-eslint
seems to choose global installed ESLint if ESLint is installed in both global and local.
But local’s should be more apposite version specified by package.json
for the product.
So if there are ESLint in both local and global, I’d like to use local’s.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:5
- Comments:28 (25 by maintainers)
Top Results From Across the Web
Message "npm WARN config global `--global`, `--local` are ...
Step 1: Go to the \nodejs folder and open the two files npm.cmd and npm by a text editor. Enter image description here....
Read more >Getting Started with ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >"eslint" task - Rush Stack
This task invokes the ESLint tool which reports errors about common coding problems. When to use it. ESLint fits together with several other...
Read more >@rushstack/eslint-config - npm package | Snyk
A TypeScript ESLint ruleset designed for large teams and projects. Philosophy. When you work in a small repo, you spend most of your...
Read more >Flycheck with file relative eslint executable
What my version does is look for a local eslint and if one is not found it falls back to a globally installed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The is actually expected: see http://eslint.org/docs/user-guide/configuring.html
Note: A globally-installed instance of ESLint can only use globally-installed ESLint plugins. A locally-installed ESLint can make use of both locally- and globally- installed ESLint plugins.
The fix of this problem is covered by https://github.com/Microsoft/vscode-languageserver-node/issues/23.
@mysticatea Thanks again for helping me tracking this down. @prashaantt if you still see problems with resolving correct configurations please open another issue.