class

Krikri::Lint::LatestRule

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

Upstream parity: ansible-lint's latest rule (severity MEDIUM, tags idempotency) for the git/hg VCS sub-rules. latest[git] fires when version is missing or "HEAD"; latest[hg] for revision missing or "default".

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