The method of displaying wavy lines with unused variables by VSCode
This article will explain in detail the method of displaying wavy lines on unused variables by VSCode. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
VsCode shows the wavy lines of unused variables
Install the eslint plug-in and configure the settings.json file in the project's vsCode
"javascript.validate.enable": true
Restart vscode takes effect
This is the end of VSCode's method of displaying wavy lines on unused variables. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.