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: universal
gitbuildtooling
Gitignore generated build artifacts and untrack committed ones
Add generated files like *.tsbuildinfo to .gitignore, and git rm --cached anything already committed.
PR: hegnar-forum-web · org-mining-hist-2026-06Created: Jun 20, 2026
Bad example
Old codetext
| 1 | # tsconfig.tsbuildinfo committed to the repo |
Explanation (EN)
Objašnjenje (HR)
Good example
New codetext
| 1 | # .gitignore |
| 2 | *.tsbuildinfo |
| 3 | # then: git rm --cached tsconfig.tsbuildinfo |
Explanation (EN)
Objašnjenje (HR)