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

    Interface DiscoverOptions

    Options for discoverFiles.

    interface DiscoverOptions {
        all?: boolean;
        extensions?: string[];
        ignore?: string[];
        noGitignore?: boolean;
        paths?: string[];
        root?: string;
    }
    Index

    Properties

    all?: boolean

    Include untracked files (walk the tree instead of git ls-files).

    extensions?: string[]

    Extra file extensions to include in auto-discovery, in addition to the built-in markdown family. Accepts crv, .crv, or .CRV; normalized to a lowercase dotted form. Has no effect on explicit paths, which are always kept regardless of extension.

    ignore?: string[]

    Glob patterns (micromatch) to exclude from the result.

    noGitignore?: boolean

    Ignore .gitignore and walk the tree directly (implies all-style discovery).

    paths?: string[]

    Explicit file paths to lint; bypasses discovery and the extension filter.

    root?: string

    Directory to search from. Defaults to '.'.