class

Krikri::Lint::YamlCommasRule

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

Upstream parity: yaml[commas] (from yamllint, as configured by ansible-lint's bundled .yamllint which extends yamllint's defaults: max-spaces-before 0, min-spaces-after 1, max-spaces-after 1; error level, so MEDIUM here). Only flow-sequence/flow-mapping entry indicators are checked - a comma in block context is scalar text, not a token.

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