import { objectFromEntries, objectKeys, safeCastTo } from "ts-extras";
import { recommended } from "./recommended.js";
const recommendedRuleNames = safeCastTo(objectKeys(recommended.rules));
const strictRules = objectFromEntries(recommendedRuleNames.map((ruleName) => [ruleName, "error"]));
/**
 * Strict preset that promotes every recommended rule to `error`.
 */
export const strict = {
    rules: strictRules,
};
//# sourceMappingURL=strict.js.map