Angular Modernizer
    Preparing search index...

    A violated file with its position in the fix order.

    interface PlannedFile {
        byRule: Record<string, number>;
        bySeverity: Record<string, number>;
        cycleId?: number;
        dependsOn: string[];
        filePath: string;
        layer?: string;
        level: number;
        order: number;
        violationCount: number;
        violations: PlannedViolation[];
    }
    Index

    Properties

    byRule: Record<string, number>

    Violation count per rule id.

    bySeverity: Record<string, number>

    Violation count per severity.

    cycleId?: number

    Cycle cluster id when the file is part of an import cycle.

    dependsOn: string[]

    Violated files this file depends on (fix those first or together).

    filePath: string

    Path of the violated file.

    layer?: string

    Layer of the file, when ViolationPlanOptions.layerOf returns one.

    level: number

    Topological level: 0 = depends on no other violated file.

    order: number

    Position in the overall fix order (1-based).

    violationCount: number

    Number of violations in the file.

    violations: PlannedViolation[]

    Violations of the file, sorted by line.