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).
frontend ruleP2universalStack: react
namingcomponentsreadabilityconventions
Name a list-item component for what it is, not an ambiguous suffix
Avoid item names like XRecord that read as a past-tense/recorded thing; prefer XItem or XEvent so it's clear it's one entry in a list.
PR: frontpage-web · org-mining-hist-2026-06Created: Jun 18, 2026
Bad example
Old codetsx
| 1 | function ShortProgramRecord(props) { /* one row in a list */ } |
Explanation (EN)
Objašnjenje (HR)
Good example
New codetsx
| 1 | function ShortProgramItem(props) { /* one row in a list */ } |
Explanation (EN)
Objašnjenje (HR)