@designliquido/xpath
    Preparing search index...

    Interface WarningConfiguration

    Configuration for warning behavior

    interface WarningConfiguration {
        enabled?: boolean;
        minSeverity?: WarningSeverity;
        suppressCategories?: WarningCategory[];
        suppressCodes?: string[];
        handler?: WarningHandler;
        logToConsole?: boolean;
        maxWarnings?: number;
        emitOnce?: boolean;
    }
    Index

    Properties

    enabled?: boolean

    Whether warnings are enabled. Default: true

    minSeverity?: WarningSeverity

    Minimum severity level to report. Default: 'info'

    suppressCategories?: WarningCategory[]

    Categories to suppress (not report)

    suppressCodes?: string[]

    Specific warning codes to suppress

    handler?: WarningHandler

    Custom warning handler. If not provided, warnings are collected internally.

    logToConsole?: boolean

    Whether to also log warnings to console. Default: false

    maxWarnings?: number

    Maximum number of warnings to collect before stopping. Default: 100

    emitOnce?: boolean

    Whether to emit each warning only once per expression. Default: true