HK-R03/norms/rules/hooks/HK-R03.md
Este texto aún no está traducido. Debajo está el original en inglés.
One commit touches one project
MUSTobservahookactiva
The staged files with an owner belong to at most one project
Por qué: A commit for one project is easier to review and revert on its own.
Enforcer: hooks/one-project.ts
Before a commit, the one-project hook counts distinct project owners among staged files. Files with no owner do not count.
Why. A commit for one project is easier to review and revert on its own.
How to fix. Stage the files for one project at a time and commit each project separately.
Mode. The rule ships in observe mode and reports mixed commits. Set mode: enforce on the project's copy to block them.
El paquete Repository hooks coloca esta página en
/norms/rules/hooks/HK-R03.md.Texto fuente