'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var utils = require('./utils.cjs');

const linter = (_key, _value, info) => {
  if (info.parentSelectors.some((selector) => {
    const selectors = selector.split(",");
    return selectors.some((item) => item.split("&").length > 2);
  }))
    utils.lintWarning("Should not use more than one `&` in a selector.", info);
};

exports.default = linter;
//# sourceMappingURL=parentSelectorLinter.cjs.map
