A linting result for a single linting rule match.

interface UnusedDefinitionResult {
    certainty: LintingResultCertainty;
    involvedId: undefined | NodeId;
    quickFix?: LintQuickFix[];
    range: SourceRange;
    variableName?: string;
}

Hierarchy (View Summary)

Hierarchy-Diagram

UML class diagram of UnusedDefinitionResult

Properties

The certainty of the linting result.

involvedId: undefined | NodeId

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

quickFix?: LintQuickFix[]

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

variableName?: string