Replace YAML anchors and aliases with explicit values
An editor may accept reusable anchors while Proofline reports “YAML anchors and aliases are unsupported.”
Expand the shared list at each use#
Replace each alias with the value it supplied and remove its anchor. Here the review filter and the migration rule each need the same list, so each carries it explicitly.
version: 2
reviews:
paths_include: ["db/migrations/**"]
rules:
- key: migration-rollback
path_globs: ["db/migrations/**"]
text: Check how the migration recovers after an interrupted run.
If an anchor lived under a custom top-level key, remove that key too. Validate the expanded document, then compare both lists when changing the directory later.