How to solve the problem that vscode editors often report errors in js code
Editor to share with you how to solve the problem that vscode editors often report errors in js code. I hope you will get something after reading this article. Let's discuss it together.
Question:
Editing js code often reports errors, such as:
Reason:
Due to the syntax checking problem of vcode itself.
Solution:
Add "javascript.validate.enable" to the setting: false disables default js authentication.
We can use third-party tools such as eslint or tslint for static checking.
After reading this article, I believe you have a certain understanding of "how to solve the problem that vscode editors often report errors in js code". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!