UNPKG

@aplus-frontend/antdv

Version:

Vue basic component library maintained based on ant-design-vue

16 lines (15 loc) 473 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _utils = require("./utils"); const linter = (_key, _value, info) => { if (info.parentSelectors.some(selector => { const selectors = selector.split(','); return selectors.some(item => item.split('&').length > 2); })) { (0, _utils.lintWarning)('Should not use more than one `&` in a selector.', info); } }; var _default = exports.default = linter;