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: universal
reviewgit-blameregressioncaution
Check blame/history before deleting code you didn't write
Before removing an attribute or line, check git blame/history to learn why it exists; it may guard against a known bug.
PR: frontpage-web · org-mining-hist-2026-06Created: Jun 18, 2026
Bad example
Old codetsx
| 1 | <a data-ga-label={gaLabel} data-search-type={searchType} /> |
Explanation (EN)
Objašnjenje (HR)
Good example
New codetsx
| 1 | <a data-ga-label={gaLabel} data-search-type={searchType} data-no-track={true} /> |
Explanation (EN)
Objašnjenje (HR)