@mermaid-lint/core
    Preparing search index...

    Interface Directive

    A parsed suppression directive.

    interface Directive {
        kind: DirectiveKind;
        line: number;
        problems: DirectiveProblem[];
        reason: string;
        rules: "all" | readonly string[];
    }
    Index

    Properties

    line: number

    1-indexed line where the directive starts: a body line for %% directives, or the real 1-indexed document line for a <!-- --> file-scope directive (see parseFileDirectives).

    problems: DirectiveProblem[]

    Anything wrong with the directive; empty when well-formed.

    reason: string

    Free text after the first :. Empty when absent.

    rules: "all" | readonly string[]

    Rule ids named by the directive, or 'all' for the wildcard.