OptionalextensionsExtra 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.
OptionalfencesWhich 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.
OptionalfilesGlob patterns of files to lint.
OptionalformatOutput format for the CLI.
OptionalignoreGlob patterns to exclude.
OptionalrulesPer-rule severity overrides ("off" | "warn" | "error"), layered over
the built-in defaults. E.g. { "prefer-flowchart": "off", "duplicate-ids": "error" }. Ignored when semantic is false (which disables every rule).
OptionalsemanticEnable semantic checks (e.g. duplicate-id detection).
OptionalstrictTreat semantic warnings as errors.
Resolved mermaid-lint configuration, as loaded from a config file or the
mermaidLintfield inpackage.json.