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 ruleP2stack specificStack: TypeScript
linttoolingcitype-aware
Pass the type-aware flag so type-aware lint rules actually run
Some linters only execute type-aware rules when an explicit flag (e.g. oxlint --type-aware) is passed; without it those rules silently do nothing.
PR: hegnar-forum-web · org-mining-3rd-2026-06Created: Jun 18, 2026
Bad example
Old codejson
| 1 | "lint:oxlint": "oxlint --config .oxlintrc.json --fix" |
Explanation (EN)
Objašnjenje (HR)
Good example
New codejson
| 1 | "lint:oxlint": "oxlint --config .oxlintrc.json --type-aware --fix" |
Explanation (EN)
Objašnjenje (HR)