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: typescript
typescriptnamingtypesconventions
Use PascalCase for type and interface names and drop the I prefix
Types and interfaces should start with an uppercase letter (PascalCase) and not use a Hungarian I prefix.
PR: hegnar-forum-web · org-mining-hist-2026-06Created: Jun 20, 2026
Bad example
Old codetypescript
| 1 | interface ITickerListData { } |
| 2 | type tickerData = { }; |
Explanation (EN)
Objašnjenje (HR)
Good example
New codetypescript
| 1 | interface TickerListData { } |
| 2 | type TickerData = { }; |
Explanation (EN)
Objašnjenje (HR)