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

    Function loadConfig

    • Search for and load a mermaid-lint config via lilconfig (.mermaidlintrc*, mermaid-lint.config.*, or the mermaidLint key in package.json), starting from cwd and walking up. Returns {} when none is found.

      Parameters

      • Optionalcwd: string

        Directory to begin the search from. Defaults to the process cwd.

      Returns Promise<MermaidLintConfig>

      The resolved MermaidLintConfig (empty if none found).