HOST-X
HOST-X

Reputation: 443

VsCode deactivate yellow curled error lines

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.

Upvotes: 1

Views: 4316

Answers (2)

GOTO 0
GOTO 0

Reputation: 47781

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.

Upvotes: 5

Johan
Johan

Reputation: 2952

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

Upvotes: 1

Related Questions