Krikri::Lint::Violation
Constructors
Class methods
Instance methods
as_warning
Sourcecolumn
Sourcedetails
Upstream's MatchError.details: the enclosing task's description, rendered as "Task/Handler: <name>" for matches produced by a task-scoped rule. Empty for file-level rules (yaml[*]).
family
Rule family: "yaml[commas]" -> "yaml". The summary table and the profile lookups key on the family for bracketed sub-tags.
level
Upstream's MatchError.level. Display level only: a match can be shown as a warning (load-failure) while still counting as a failure for the outcome line and the exit code.
line
Sourcemessage
Sourcepath
Sourcereport_key
Upstream's MatchError._hash_key: the key the --fix yaml re-run uses to decide a match was "still found" in the rewritten file.
rule_id
Sourceseverity
Sourcetask_line
Enclosing task's first line, for noqa range matching. Nil for file-level rules (yaml[*], load-failure).
warning?
Source