Rules Hub
Coding Rules Library
← Back to all rules
Rule priority, scope & exceptions
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).
backend ruleP1universalStack: npm
npmciscripts
Use valid npm command syntax in scripts and CI
Invoke scripts correctly (npm test or npm run test), not invalid forms like 'npm test run'.
PR: hegnar-zephr-components · org-mining-hist-2026-06Created: Jun 19, 2026
Bad example
Old codeyaml
| 1 | - run: npm test run |
Explanation (EN)
Objašnjenje (HR)
Good example
New codeyaml
| 1 | - run: npm run test |
Explanation (EN)
Objašnjenje (HR)