UNPKG

stylelint-sassdoc

Version:

stylelint plugin to check scss files for a valid sassdoc documentation Credits to https://github.com/anneangersbach

9 lines (7 loc) 283 B
const regExCheck = require('./regExCheck'); /** Returns true if the selector contains a placeholder selector (%placeholder) * @param {Node} node - the current root node */ module.exports = function selectorIncludesPlaceholder(node) { return regExCheck(node.selector, /%/); };