question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Do not lint if eslint is not installed

See original GitHub issue

Hi there,

Would it be possible to disable linting when eslint is not installed either locally or globally?

screen shot 2016-04-17 at 11 39 05 pm

Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:9
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
sarbbottamcommented, Apr 19, 2016

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.

3reactions
dbaeumercommented, Sep 13, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found