@gmb/bitmark-parser - v7.21.2
    Preparing search index...

    Interface Diagnostic

    One issue, as LSP defines a diagnostic. code is the stable contract (the same codes as the JSON envelope's parser.errors / warnings / infos); message is human prose and may change. data.bit is the index of the bit the issue belongs to, the same index the JSON array uses; data.scope is the issue's IssueScope.

    interface Diagnostic {
        code: string;
        data: { bit: number; scope: IssueScope };
        message: string;
        range: Range;
        severity: DiagnosticSeverity;
        source: "bitmark";
    }
    Index
    code: string
    data: { bit: number; scope: IssueScope }
    message: string
    range: Range
    source: "bitmark"