Angular Modernizer
    Preparing search index...

    Analysis rule angular:missing-onpush-change-detection: reports @Component classes without ChangeDetectionStrategy.OnPush that have inputs or complex logic. With OnPush, Angular checks a component only when its inputs change or when change detection is triggered manually.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    category: "angular-performance" = 'angular-performance'

    Rule category for grouping.

    description: "Detects Angular components that should use OnPush change detection strategy" = 'Detects Angular components that should use OnPush change detection strategy'

    Rule description explaining what it checks.

    id: "angular:missing-onpush-change-detection" = 'angular:missing-onpush-change-detection'

    Unique rule identifier (scoped to plugin). Format: "plugin-name:rule-name" (e.g., "angular-standalone:component-not-standalone")

    name: "Missing OnPush Change Detection" = 'Missing OnPush Change Detection'

    Human-readable rule name.

    severity: "warning" = 'warning'

    Rule severity level.

    tags: string[] = ...

    Tags for filtering and search.

    Methods