function rulesWarnToError(rules) {
  return Object.fromEntries(
    Object.entries(rules)
      .map(([ruleName, ruleValue]) => [ruleName, ruleWarnToError(ruleValue)])
  );
}
/** Gets a rules configuration with warnings switched to errors.
 *
 * @private
 */
Gets a rules configuration with warnings switched to errors.
@private
Gets a rules configuration with warnings switched to errors . @private
function rulesWarnToError(rules) {
  return Object.fromEntries(
    Object.entries(rules)
      .map(([ruleName, ruleValue]) => [ruleName, ruleWarnToError(ruleValue)])
  );
}
function rulesWarnToError ( rules ) { return Object . fromEntries ( Object . entries ( rules ) . map ( ( [ ruleName , ruleValue ] ) => [ ruleName , ruleWarnToError ( ruleValue ) ] ) ) ; }
Gets a rules configuration with warnings switched to errors.
Gets a rules configuration with warnings switched to errors .