class

Krikri::Lint::NoHandlerRule

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

Upstream parity: ansible-lint's no-handler (severity MEDIUM, tags idiom). Tasks with a simple when referencing .changed / |changed / ["changed"] / is changed are acting as handlers.

Constants

CHANGED_MARKERS = [".changed", "|changed", "| changed", "[\"changed\"]", "['changed']", "is changed"]

Instance methods

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

Task-oriented: violations belong to an enclosing task, so a # noqa: anywhere in that task's body suppresses them.

Source