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

    Interface MermaidLintConfig

    Resolved mermaid-lint configuration, as loaded from a config file or the mermaidLint field in package.json.

    interface MermaidLintConfig {
        extensions?: string[];
        fences?: FenceMarker[];
        files?: string[];
        format?: "text" | "json";
        ignore?: string[];
        semantic?: boolean;
        strict?: boolean;
    }
    Index

    Properties

    extensions?: string[]

    Extra file extensions to include in auto-discovery, beyond the built-in markdown family (.md, .mdx, .markdown, .mmd). E.g. ["crv"] to lint Mermaid fences in Carve files. Merges with the --ext CLI flag.

    fences?: FenceMarker[]

    Which code-fence markers to recognize for Mermaid blocks. Defaults to both "backtick" (```mermaid) and "tilde" (~~~mermaid), matching CommonMark. Restrict to e.g. ["backtick"] to ignore tilde fences.

    files?: string[]

    Glob patterns of files to lint.

    format?: "text" | "json"

    Output format for the CLI.

    ignore?: string[]

    Glob patterns to exclude.

    semantic?: boolean

    Enable semantic checks (e.g. duplicate-id detection).

    strict?: boolean

    Treat semantic warnings as errors.