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 ruleP2universalStack: YAML
yamlstyleconfigcleanliness
Don't quote YAML scalar values unless required
YAML often doesn't need quotes around simple scalars (branch names, etc.). Drop unnecessary quotes for cleaner config; quote only when the value would otherwise be misparsed.
PR: hegnar-bellsheep-web · org-mining-hist-2026-06Created: Jun 18, 2026
Bad example
Old codeyaml
| 1 | branches: |
| 2 | - 'develop' |
Explanation (EN)
Objašnjenje (HR)
Good example
New codeyaml
| 1 | branches: |
| 2 | - develop |
Explanation (EN)
Objašnjenje (HR)