Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 426 Bytes

lint-result.md

File metadata and controls

19 lines (16 loc) · 426 Bytes

Lint result file format

Lint result file format is simply JSON

type LintResultLevel = "notice" | "warning" | "failure";

interface LintResult {
    path: string;
    rule: string;
    message: string;
    startLine: number | undefined;
    endLine: number | undefined;
    startColumn: number | undefined;
    endColumn: number | undefined;
    level: LintResultLevel;
}

Lint result json is array of LintResult