import unicornPlugin from "eslint-plugin-unicorn";
import { adaptExternalRule, getExternalRuleFromPlugin, } from "../_internal/create-external-rule.js";
import { createReplacementRuleInfo, withDeprecatedRuleLifecycle, } from "../_internal/rule-deprecation.js";
/**
 * Proxy of external `unicorn/no-unreadable-iife`.
 */
const rule = adaptExternalRule(getExternalRuleFromPlugin(unicornPlugin, "no-unreadable-iife", "eslint-plugin-unicorn"), "https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/uppercase-iife");
/**
 * Wrapper rule with explicit lifecycle metadata and replacement mapping.
 */
const deprecatedRule = withDeprecatedRuleLifecycle(rule, {
    message: "Deprecated in favor of unicorn/no-unreadable-iife.",
    replacedBy: [
        createReplacementRuleInfo({
            plugin: {
                name: "unicorn",
                url: "https://github.com/sindresorhus/eslint-plugin-unicorn",
            },
            rule: {
                name: "no-unreadable-iife",
                url: "https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unreadable-iife.md",
            },
        }),
    ],
    ruleId: "uppercase-iife",
});
export default deprecatedRule;
//# sourceMappingURL=uppercase-iife.js.map