Solve the red wavy line in the vue file code

In the common template of vue, there are many red wavy lines in the error report. After checking, it is not a grammatical error.

 The error message is that it should be indented with four spaces but I indented with eight spaces. From the information bursting out of the red wavy line, it can be seen that if I write the code in this way, there is no grammatical error, but it does not conform to the ESLint specification. Obsessive-compulsive disorder, I look extremely uncomfortable

solution:

Click the Settings button in the lower left corner --> select Settings

 After entering eslint.enable, find ESLint in the extension and uncheck it

 Then reboot and the tilde will disappear

 

Guess you like

Origin blog.csdn.net/jewels_w/article/details/126681806