The solution to the ineffectiveness of eslint plug-in in vscode
This article will explain in detail the solution to the ineffectiveness of the eslint plug-in in vscode. 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.
1. VsCode, open "Settings" and select "settings.json"
2. Enter a script
"eslint.validate": ["javascript", "javascriptreact", {"language": "vue", "autoFix": true}, "vue"], "eslint.autoFixOnSave": true
3. Restart the vsCode,vue and the check will take effect.
This is the end of this article on "the solution to the ineffectiveness of the eslint plug-in in vscode". 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.