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.

Linting on the fly with Atom issues

See original GitHub issue

Hei guys is this issue related with eslint-plugin-vue?

If it’s not, any clue where to look next?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

18reactions
derhedwigcommented, Feb 10, 2018

I had similiar problems with “Lint HTML Files” turned on in Atom. But then I found this:

From https://github.com/BenoitZugmeyer/eslint-plugin-html:

Initially, eslint-plugin-vue was using eslint-plugin-html to lint code inside script tags. Since v3, eslint-plugin-vue is using its own parser, so it is incompatible with eslint-plugin-html. You should remove eslint-plugin-html from your dependencies if you still have this.

So, one shouldn’t use “Lint HTML Files” and this is how you could still make Atom lint vue-files:

From https://alligator.io/vuejs/vue-eslint-plugin/:

Go into Settings -> Packages -> linter-eslint and add text.html.vue to the “List of scopes to run eslint on” option. You may need to restart Atom.

0reactions
miljan-aleksiccommented, Feb 11, 2018

Thanks @derhedwig for your comments. That’s not the case in this particular situation but may help somebody else.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to lint inside Atom | Home of fearless web developer ...
When you open the widget in a browser to test it, it's not working. Open developer tools, open console tab, inspect errors, go...
Read more >
atom-lint
Linter Executable Paths​​ To handle this issue, when Atom is launched via shell, Atom-Lint automatically saves the environment variables, and from then on...
Read more >
Unable to get any linting done in github's atom editor (using ...
Issue : Both the packages (linter and linter pylint) are installed and enabled but no linting is being done in case of errors....
Read more >
Atom Editor Tutorials #11 - Linters & Hinters - YouTube
In this Atom Editor Tutorial, I show you how to get linters going quickly in Atom. Subscribe for more free tutorials https://goo.gl/6ljoFc ...
Read more >
How to run ESLint using a pre-commit hook - Level Up Coding
Before we go ahead, I'd like to provide a little background on ESLint and Git pre-commit hook ... Image Source: https://libraries.io/atom/linter-plus-eslint.
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