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
securityhttpslinks
Use https URLs instead of http
Default outbound and asset links to https to avoid mixed-content warnings and insecure requests.
PR: frontpage-web · org-mining-hist-2026-06Created: Jun 18, 2026
Bad example
Old codejavascript
| 1 | const facebook = 'http://www.facebook.com/Example'; |
Explanation (EN)
Objašnjenje (HR)
Good example
New codejavascript
| 1 | const facebook = 'https://www.facebook.com/Example'; |
Explanation (EN)
Objašnjenje (HR)