Angular Modernizer
    Preparing search index...

    Transform Rule - modifies code to fix issues or modernize patterns.

    Transform rules are WRITE operations. They must be:

    • Idempotent: Running twice should be safe
    • Atomic: Either fully succeed or fully fail
    • Reversible: Should not cause data loss
    interface TransformRule {
        category: string;
        description: string;
        id: string;
        name: string;
        tags?: string[];
        transform(context: TransformContext): Promise<TransformResult>;
    }

    Implemented by

    Index

    Properties

    category: string

    Rule category for grouping.

    description: string

    Rule description explaining what it does.

    id: string

    Unique rule identifier (scoped to plugin).

    name: string

    Human-readable rule name.

    tags?: string[]

    Tags for filtering and search.

    Methods