add_override


Description:

[ Version ( since = "0.15.4" ) ]
public bool add_override (string tag, IssueSeverity severity_override) throws Error

Override the severity of a selected tag.

For most tags, the severity can not be lowered to a value that makes a validation that would otherwise fail pass (so e.g. an ERROR can not become an INFO). Some tags are explicitly allowed to have their severity lowered to enable validation of e.g. incomplete metadata during development. Increasing the severity of any tag is always allowed.

Parameters:

this

a Validator instance.

tag

the issue tag to override, e.g. "release-time-missing"

severity_override

the new severity for the tag.