Rules.
43 Angular-aware checks across 8 categories. Each rule explains what it detects, why it matters in Angular, and the fix — with valid and invalid examples.
Try them in the playground- 43
- Rules
- 8
- Categories
- 29
- Errors
- 14
- Warnings
- 14
- Version-gated
Correctness
16 rulesPerformance
5 rulesSecurity
2 rulesSSR
2 rulesReactivity
7 rulesModern API
5 rulesTemplate
2 rulesTesting
4 rulesInspect rules from the CLI.
The same data is available offline through the CLI.
$ npx ngcompass rules- List every rule.
$ npx ngcompass rules <rule-id>- Inspect a specific rule, with options and examples.
$ npx ngcompass rules --preset zoneless- Filter by the new zoneless preset to see every zone.js-removal check.
Angular version awareness
ngcompass detects your Angular version and runs only the rules that fit it. 14 rules need newer Angular APIs, so older projects skip them. The rest run from v15 up.
How version detection works