Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Red Squiggly Lines in VS Code

My Visual Studio code editor keeps underlining my code incorrectly and I don't know how to stop it.

Here is an example of my JavaScript being squiggled: enter image description here

I have tried installing prettier, eslint but it does nothing to solve this.

How can I stop these squiggly lines from appearing incorrectly? I want them IF they are correct.

If I click on the problems tab, it shows this: enter image description here

like image 966
rom Avatar asked Nov 02 '25 00:11

rom


1 Answers

Solved! Thanks to zscoop98's answer, I was able to find this page which showed there exists an option standard.enable in settings.json that, after setting that from true to false, it solved the issue and there are no longer these annoying red squiggly lines.

like image 156
rom Avatar answered Nov 04 '25 16:11

rom