Added a case that renders cops with info level severity as DiagnosticSeverity.Information.
Why
Currently, cops that are set to return info-level severity are rendered as warnings, with a red underline and a red warning icon. Per the Rubocop documentationinfo is the lowest level, ranking even below refactor so it should definitely not be displayed as something more severe. Because of its name matching the name and the icon of the Information diagnostic severity I chose to use that one instead of using the lower level Hint one and grouping it with refactor.
What
Added a case that renders cops with
info
level severity asDiagnosticSeverity.Information
.Why
Currently, cops that are set to return info-level severity are rendered as warnings, with a red underline and a red warning icon. Per the Rubocop documentation
info
is the lowest level, ranking even belowrefactor
so it should definitely not be displayed as something more severe. Because of its name matching the name and the icon of theInformation
diagnostic severity I chose to use that one instead of using the lower levelHint
one and grouping it withrefactor
.