class

Krikri::Lint::YamlLineLengthRule

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

Upstream parity: ansible-lint's yaml[line-length] (delegated to yamllint upstream; severity MEDIUM since yamllint's line-length runs at error level, tags formatting/yaml). Max 160 chars, the value in ansible-lint's bundled .yamllint.

Constants

MAX_LENGTH = 160

Instance methods

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

Upstream's yaml transform is a documented no-op (the reformatting happens in the data dumper), so it never marks a match fixed; every yaml[*] match gets a "not applied" ERROR.

Source