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 ruleP1universalStack: html
linksurlscorrectness
Use full, valid absolute URLs for external links
External link hrefs must include the protocol (https://) and the correct destination, not a bare domain or placeholder.
PR: hegnar-forum-web · org-mining-hist-2026-06Created: Jun 20, 2026
Bad example
Old codetypescript
| 1 | <Hyperlink href="www.google.com">Terms</Hyperlink> |
Explanation (EN)
Objašnjenje (HR)
Good example
New codetypescript
| 1 | <Hyperlink href="https://www.finansavisen.no/personvern" target="_blank">Terms</Hyperlink> |
Explanation (EN)
Objašnjenje (HR)