ngcompass

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 rules

Performance

5 rules

Security

2 rules

SSR

2 rules

Reactivity

7 rules

Modern API

5 rules

Template

2 rules

Testing

4 rules

Inspect 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