What if the eslint plug-in in vscode doesn't work?
This article will explain in detail what to do if the eslint plug-in in vscode does not work. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Recently, I have been developing with vue, but the eslint plug-in in vsCode does not work after it is installed.
Solution:
1. VsCode, open "Settings" and select "settings.json"
2. Enter the following script
"eslint.validate": ["javascript", "javascriptreact", {"language": "vue", "autoFix": true}, "vue"], "eslint.autoFixOnSave": true
As shown in the figure:
This is the end of this article on "what if the eslint plug-in in vscode doesn't work". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.