1

I am using VSCode mit ESlint for Typescript. How can i disable/deactivate yellow curled error lines as shown in the example?

enter image description here

I only want to disable the yellow. Not the red curly error lines. Thanks for help in advance.

HOST-X
  • 185
  • 10
  • change/customize the theme color of the warning lines for your Theme to a transparent color or editor background – rioV8 Dec 08 '22 at 08:46

2 Answers2

5

Yellow wavy lines are warnings. You can disable warnings in the UI by editing the VSCode ESLint extension settings.

Open the file settings.json as explained here: How can I open Visual Studio Code's 'settings.json' file?

Add this line to the settings:

{
    ...
    "eslint.quiet": true,
    ...
}

See also the documentation.

GOTO 0
  • 42,323
  • 22
  • 125
  • 158
1

To disable wavy/squiggly underline in vscode, go to settings, type "Color Customizations" and in settings.json set underline color to fully transparent:

{
    "workbench.colorCustomizations": {
        "editorWarning.foreground": "#00000000",
    }
}
Johan
  • 2,088
  • 2
  • 9
  • 37