Expand description
Gate: every rule whose verification runs a hook names a hook that is still defined.
A rule can be stated in a spec, given a Verify: line, and enforced by
nothing. This reads the hook name out of every verification that runs
pre-commit and asserts the hook is defined, so renaming or deleting one
fails here instead of quietly turning a rule back into a suggestion.
Aliases count, because that is how a spec names a scoped variant.
Constants§
- CITES
- The rules this gate can cite.
Functions§
- run
- Judge every hook the local specs cite.