/* eslint-disable total-functions/no-hidden-type-assertions -- @typescript-eslint RuleCreator requires an explicit docs metadata generic for typed docs fields. */
import { ESLintUtils } from "@typescript-eslint/utils";
/**
 * Shared rule factory for plugin rules.
 */
/**
 * Typed factory for defining plugin rules with consistent docs URLs.
 */
export const ruleCreator = ESLintUtils.RuleCreator((name) => {
    const docsPathName = name.replaceAll("/", "-");
    return `https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/${docsPathName}`;
});
/* eslint-enable total-functions/no-hidden-type-assertions -- Re-enable hidden assertion checks outside this required generic factory declaration. */
//# sourceMappingURL=rule-creator.js.map