import { warningOnce } from '../../vc-util/warning.mjs';

function lintWarning(message, info) {
  const { path, parentSelectors } = info;
  warningOnce(
    false,
    `[CSS-in-JS] ${path ? `Error in '${path}': ` : ""}${message}${parentSelectors.length ? ` Selector info: ${parentSelectors.join(" -> ")}` : ""}`
  );
}

export { lintWarning };
//# sourceMappingURL=utils.mjs.map
