/* eslint-disable canonical/no-reassign-imports -- Rule entry map intentionally references imported plugin rules metadata. */
import { objectEntries, objectFromEntries } from "ts-extras";
import { rules as pluginRules } from "../rules.js";
const allStrictRuleEntries = objectEntries(pluginRules).map(([ruleName, ruleModule]) => [
    `etc-misc/${ruleName}`,
    ruleModule.meta.deprecated === false ? "error" : "warn",
]);
const allStrictRules = objectFromEntries(allStrictRuleEntries);
/**
 * Flat config preset enabling every plugin rule at `error`, except deprecated
 * rules which remain at `warn`.
 */
export const allStrict = {
    rules: allStrictRules,
};
/* eslint-enable canonical/no-reassign-imports -- Re-enable canonical import reassignment restrictions for the remainder of the file. */
//# sourceMappingURL=all-strict.js.map