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 ruleP2stack specificStack: node
package-jsontoolingscriptsconsistency
Standardize on one package manager and drop unnecessary script arg separators
Use a single package manager consistently (search and replace stray references) and avoid the extra -- separator pnpm doesn't require for passing flags.
PR: hegnar-web · org-mining-hist-2026-06Created: Jun 19, 2026
Bad example
Old codejson
| 1 | "dev:host": "pnpm run dev -- --host" |
Explanation (EN)
Objašnjenje (HR)
Good example
New codejson
| 1 | "dev:host": "pnpm run dev --host" |
Explanation (EN)
Objašnjenje (HR)