Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The solution to the ineffectiveness of eslint plug-in in vscode

Shulou Source: shulou.com Published: 2022-06-02 15:37:14 10月02日 Update

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.

Tags: Articles functions plug-ins methods more good practical content articles knowledge scripts references help related check input select Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia vpn Microsoft MySQL Shulou Information