Is there a way to hide problem decorations for warning in explorer view of VSCode

Viewed 308

This is the Problem decoration (error indicator) I am talking about in the explorer view

problem decorator

Now this decoratior/error occurs whenever there is a WARNING or an ERROR discovered by the linter, in my case ESLint

linter error

My question is I don't want it to show a decoration/error in the explorer view just for Warnings, I only want an indicator when there is an Error from the linter like this

linter errors

I have checked and found this setting "problems.decorations.enabled": true, which seems to work for all WARNING/ERRORS. If I set it to false even ERRORs disappear.

How can I make it only show when I have an Error and not a Warning from the Linter?

0 Answers
Related