class

Krikri::Lint::LoadFailureRule

Inherits Krikri::Lint::Rule < Reference < Object

Reports files that fail to load, the way ansible-lint does: the match is shown as a warning but still counts as a failure, and no other rule runs on the file. Upstream's syntax-check rule is a separate mechanism (it shells out to a real playbook syntax check, which needs module resolution krikri-lint does not have), so a YAML load failure is a load-failure here, not a syntax-check.

Instance methods

applies_to
Source
check(file : PositionedFile, violations : Array(Violation)) : Nil
Source
severity
Source
tags
Source