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).
backend ruleP2universalStack: node
configenvdocumentation
Give env vars descriptive names and document them in the template
Name environment variables clearly and add a comment plus example value in the env template (when not secret).
PR: hegnar-web · org-mining-hist-2026-06Created: Jun 19, 2026
Bad example
Old codebash
| 1 | ORIGIN= |
Explanation (EN)
Objašnjenje (HR)
Good example
New codebash
| 1 | FORUM_URL= # full URL of the forum deployment, mandatory, example: https://example.com/forum |
Explanation (EN)
Objašnjenje (HR)