function normalizeVerifyOptions(providedOptions) {
    const isObjectOptions = typeof providedOptions === "object";
    const providedFilename = isObjectOptions ? providedOptions.filename : providedOptions;

    return {
        filename: typeof providedFilename === "string" ? providedFilename : "<input>",
        allowInlineConfig: !isObjectOptions || providedOptions.allowInlineConfig !== false,
        reportUnusedDisableDirectives: isObjectOptions && !!providedOptions.reportUnusedDisableDirectives
    };
}
function normalizeVerifyOptions(providedOptions) {
    const isObjectOptions = typeof providedOptions === "object";
    const providedFilename = isObjectOptions ? providedOptions.filename : providedOptions;

    return {
        filename: typeof providedFilename === "string" ? providedFilename : "<input>",
        allowInlineConfig: !isObjectOptions || providedOptions.allowInlineConfig !== false,
        reportUnusedDisableDirectives: isObjectOptions && !!providedOptions.reportUnusedDisableDirectives
    };
}
function normalizeVerifyOptions ( providedOptions ) { const isObjectOptions = typeof providedOptions === "object" ; const providedFilename = isObjectOptions ? providedOptions . filename : providedOptions ; return { filename : typeof providedFilename === "string" ? providedFilename : "<input>" , allowInlineConfig : ! isObjectOptions || providedOptions . allowInlineConfig !== false , reportUnusedDisableDirectives : isObjectOptions && ! ! providedOptions . reportUnusedDisableDirectives } ; }
Normalizes the possible options for `linter.verify` and `linter.verifyAndFix` to a
consistent shape.
@param {(string|{reportUnusedDisableDirectives: boolean, filename: string, allowInlineConfig: boolean})} providedOptions Options
@returns {{reportUnusedDisableDirectives: boolean, filename: string, allowInlineConfig: boolean}} Normalized options
Normalizes the possible options for linter . verify and linter . verifyAndFix to a consistent shape .
Normalize options for verify