class

Krikri::Lint::YamlHyphensRule

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

Upstream parity: yaml[hyphens] (from yamllint defaults: max-spaces-after 1; error level, MEDIUM here). Reported at the block-sequence entry's line with no column: "Too many spaces after hyphen".

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