ESLint stopped working - how to fix
See original GitHub issueHi,
Please add the following to the readme, as it affects users installing this extension who also uses ESLint.
After installing vetur, your .vue files will be mapped to ‘vue’ type in VSCode, which will break the eslint validation that you may already have for HTML files.
To fix that, add “vue” to the list of types to validate in your settings.json file:
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"vue"
],
Thanks
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:5 (5 by maintainers)
Top Results From Across the Web
ESLint not working in VS Code? - Stack Overflow
If ESLint is running in the terminal but not inside VSCode, it is probably because the extension is unable to detect both the...
Read more >ESLint not working in VSCode – possible fixes - LinuxPip
ESLint not working in VSCode – possible fixes ; 1 Run npm install? ; 2 Restart VSCode ; 3 Install ESLint + Plugins...
Read more >ESLint not working no matter how i try to fix · Issue #769 - GitHub
I'm new to Node and JS. I'm following a course and trying to use ESLint and stuffs but ran into problems that i...
Read more >Eslint for JavaScript code randomly stops working, which ...
I am using VS 2017 15.5.6 to write Node.js code (ES8). The Error List window sometimes randomly stops showing all errors in my...
Read more >How To Enable Linting on Save with Visual Studio Code and ...
Trying to manually run ESLint: Fix all auto-fixable Problems periodically is not very reliable. However, having lint rules run every time you ...
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 Free
Top 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
Added ESLint part to readme. Also can error-check css/scss/less now in 0.3.
If you are using eslint extension there is now option to enable eslint of languages.
Release notes: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
Note if you are using newly updated
eslint-html-plugin
you will be able to autofix vue files aswell. https://www.npmjs.com/package/eslint-plugin-htmlEdit: Sorry misread issue, seems like you have this covered