Do not lint if eslint is not installed
See original GitHub issueHi there,
Would it be possible to disable lint
ing when eslint
is not installed either locally or globally?
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Reactions:9
- Comments:17 (5 by maintainers)
Top Results From Across the Web
ESlint Error Install from Command Line - Stack Overflow
For: Zsh: command not found: eslint npm install eslint-plugin-react-hooks --save --dev. then run: npm install -g eslint. It should work.
Read more >Getting Started with ESLint - Pluggable JavaScript Linter
ESLint will not lint your code unless you extend from a shared configuration or explicitly turn rules on in your configuration.
Read more >eslint is not recognized as an internal or external command
Install and configure ESLint. Run the npx eslint command instead of running eslint directly. eslint is not recognized as internal or external command....
Read more >ESLint is installed, but I encounter `bash: eslint: command not ...
Try running npx eslint -v . npx is a utility for running command-line commands from stuff you have installed in node_modules. If it...
Read more >ESLint not working in VSCode? Help build a troubleshooting ...
Did you install ESLint + Plugins + Presets? ... Take a look into your eslintrc configuration file and make a list of all...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
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
Thats not an option for me, I collaborate on multiple projects used by multiple people, not everyone uses VSCode, and having a editor specific files (.vscode ) checked into source control system is not an option.
I would propose, if
eslint
is not available, don’t display the error message as an actionable item.The new 1.0.3 version contains a less intrusive behavior for this. If eslint library can’t be found a message is sent to the output window. The output window is brought once to front per workspace you open. If you open the workspace a second time the message is still printed to the output console but the output pane is not brought to front. Let me know if this behavior is more in line what you expect.