Home > Software engineering >  VsCode deactivate yellow curled error lines
VsCode deactivate yellow curled error lines

Time:12-08

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.

CodePudding user response:

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",
    }
}

CodePudding user response:

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.

  • Related