adrienverge / yamllint

A linter for YAML files.
GNU General Public License v3.0
2.87k stars 275 forks source link

anchors: Add new rule to detect undeclared or duplicated anchors #550

Closed adrienverge closed 1 year ago

adrienverge commented 1 year ago

According to the YAML specification ^1:

Fixes #395 Closes #420

coveralls commented 1 year ago

Coverage Status

Coverage: 99.196% (+0.01%) from 99.184% when pulling 9e67d02184b87402aae6cccf2c69f3f11fd6df44 on feat/rule-anchors into 15f820442788d6015793eddb8baced7f061fd19b on master.

adrienverge commented 1 year ago

I'll merge this now so it can go in the same release as https://github.com/adrienverge/yamllint/pull/548#issuecomment-1476606732.

amimas commented 1 year ago

Thanks for merging it. Apologies for the delay here. Have been busy lately and didn't get a chance to look into it further.