"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function checkRule(state) {
  const marker = state.options.rule || "*";
  if (marker !== "*" && marker !== "-" && marker !== "_") {
    throw new Error(
      "Cannot serialize rules with `" + marker + "` for `options.rule`, expected `*`, `-`, or `_`"
    );
  }
  return marker;
}
exports.checkRule = checkRule;
//# sourceMappingURL=lib-util-check-rule.cjs.map
