A linting result for a single linting rule match.

interface AbsoluteFilePathResult {
    certainty: LintingResultCertainty;
    filePath: string;
    involvedId: undefined | NodeId | NodeId[];
    loc: [
        startLine: number,
        startColumn: number,
        endLine: number,
        endColumn: number,
        f?: string,
    ];
    quickFix?: LintQuickFix[];
}

Hierarchy (View Summary)

Hierarchy-Diagram

UML class diagram of AbsoluteFilePathResult

Properties

The certainty of the linting result.

filePath: string
involvedId: undefined | NodeId | NodeId[]

The node ID or IDs involved in this linting result, if applicable.

loc: [
    startLine: number,
    startColumn: number,
    endLine: number,
    endColumn: number,
    f?: string,
]
quickFix?: LintQuickFix[]

If available, what to do to fix the linting result.