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 ruleP2universalStack: TypeScript
tododocumentationmaintainability
Leave a TODO for fields you intend to add later
When a field is intentionally deferred to a future feature (e.g. author.url pending profile pages), mark it with a TODO so the gap is visible.
PR: hegnar-forum-web · org-mining-3rd-2026-06Created: Jun 18, 2026
Bad example
Old codets
| 1 | author: { '@type': 'Person', name: reply.user?.nickname } |
Explanation (EN)
Objašnjenje (HR)
Good example
New codets
| 1 | author: { |
| 2 | '@type': 'Person', |
| 3 | name: reply.user?.nickname, |
| 4 | // TODO: add url once user profile pages are implemented |
| 5 | } |
Explanation (EN)
Objašnjenje (HR)