'How to disable warnings and errors in vertical line VS Code?

How to disable warnings and errors in the vertical line near the vertical scrollbar, in VS Code?

screenshot attached



Solution 1:[1]

I don't think there is a setting that controls that. Those are showing up in the OverviewRuler. But you can set them to transparent via this setting in your settings.json:

  "workbench.colorCustomizations": {

    "editorOverviewRuler.errorForeground": "#0000",
    "editorOverviewRuler.warningForeground": "#0000",
    "editorOverviewRuler.infoForeground": "#0000"
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mark