Angular Modernizer
    Preparing search index...

    Analysis rule that reports inefficient RxJS usage:

    • several chained .pipe() calls that could be one,
    • missing shareReplay() for expensive operations such as HTTP calls,
    • redundant sequential operators (map after map, filter after filter),
    • missing debounceTime()/throttleTime() on user input streams,
    • business logic inside .subscribe() callbacks,
    • nested observable calls inside .subscribe() (use flattening operators).

    Thresholds come from RxJSOptimizationConfig.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    category: "rxjs-optimization" = 'rxjs-optimization'

    Rule category for grouping.

    description: "Detects inefficient RxJS operator usage and suggests optimizations for better performance and maintainability" = 'Detects inefficient RxJS operator usage and suggests optimizations for better performance and maintainability'

    Rule description explaining what it checks.

    id: "plugin-angular:rxjs-optimization" = 'plugin-angular:rxjs-optimization'

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

    name: "RxJS Optimization" = 'RxJS Optimization'

    Human-readable rule name.

    severity: "warning" = 'warning'

    Rule severity level.

    tags: string[] = ...

    Tags for filtering and search.

    Methods