markmv - v1.41.7
    Preparing search index...

    Interface ValidateOperationOptions

    Configuration options for link validation operations.

    Controls how broken link detection is performed across markdown files.

    interface ValidateOperationOptions {
        allowAuthRequired?: boolean;
        authCredentials?: Record<string, string>;
        authHeaders?: Record<string, Record<string, string>>;
        cache?: boolean;
        cacheDir?: string;
        checkCircular: boolean;
        checkClaudeImports: boolean;
        checkContentFreshness?: boolean;
        checkExternal: boolean;
        dryRun?: boolean;
        enableAuthDetection?: boolean;
        enforceLinkFormat?: "absolute" | "relative" | "none";
        externalRetries?: number;
        externalTimeout: number;
        failFast?: boolean;
        force?: boolean;
        freshnessThreshold?: number;
        gitDiff?: string;
        gitStaged?: boolean;
        groupBy: "type" | "file";
        includeContext: boolean;
        includeDependencies?: boolean;
        linkTypes?: LinkType[];
        maxDepth?: number;
        obsidian?: boolean;
        onlyBroken: boolean;
        requireFrontmatter?: string[];
        skipDomains?: string[];
        strictInternal: boolean;
        verbose?: boolean;
    }

    Hierarchy (View Summary)

    Index
    allowAuthRequired?: boolean

    Treat auth-required links as valid (not broken)

    authCredentials?: Record<string, string>

    API keys/credentials for authenticated requests

    authHeaders?: Record<string, Record<string, string>>

    Custom headers for specific domains

    cache?: boolean

    Enable validation result caching

    cacheDir?: string

    Cache directory path

    checkCircular: boolean

    Check for circular references in file dependencies

    checkClaudeImports: boolean

    Validate Claude import paths

    checkContentFreshness?: boolean

    Enable content freshness detection for external links

    checkExternal: boolean

    Enable external HTTP/HTTPS link validation

    dryRun?: boolean

    Show what would be changed without making changes

    enableAuthDetection?: boolean

    Enable authentication-aware link validation

    enforceLinkFormat?: "absolute" | "relative" | "none"

    Internal-link href form to enforce: relative (no leading /), absolute (leading /), or none

    externalRetries?: number

    Extra attempts for transient external failures (network errors, 5xx, 429)

    externalTimeout: number

    Timeout for external link validation in milliseconds

    failFast?: boolean

    Exit on first broken link found

    force?: boolean

    Force operation even if conflicts exist

    freshnessThreshold?: number

    Default staleness threshold in days

    gitDiff?: string

    Git diff range for incremental validation

    gitStaged?: boolean

    Only validate staged files

    groupBy: "type" | "file"

    Group results by file or by link type

    includeContext: boolean

    Include line numbers and context in output

    includeDependencies?: boolean

    Include dependency tracking for changed files

    linkTypes?: LinkType[]

    Types of links to validate

    all types
    
    maxDepth?: number

    Maximum depth to traverse subdirectories when using glob patterns

    obsidian?: boolean

    Validate Obsidian wikilinks by resolving them against the whole vault

    onlyBroken: boolean

    Show only broken links, not all validation results

    requireFrontmatter?: string[]

    Frontmatter fields every validated file must define

    skipDomains?: string[]

    External-link hostnames excluded from checking entirely (comma-separated on the CLI)

    strictInternal: boolean

    Treat missing internal files as errors

    verbose?: boolean

    Show detailed output