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).
fullstack ruleP1universalStack: npm/pnpm
dependenciesdebuggingroot-cause
Don't downgrade dependencies to dodge a local issue
Don't revert a dependency to an older version to work around a local problem (e.g. a commit/auth failure); diagnose the root cause so the bug isn't passed to the next person.
PR: hegnar-forum-web · org-mining-3rd-2026-06Created: Jun 18, 2026
Bad example
Old codejson
| 1 | "@startsiden/hegnar-components": "^2.7.2", // downgraded from ^2.8.3 to commit |
Explanation (EN)
Objašnjenje (HR)
Good example
New codejson
| 1 | "@startsiden/hegnar-components": "^2.8.3", // keep; fix the real cause (e.g. expired token) |
Explanation (EN)
Objašnjenje (HR)