UNPKG

stylelint-sassdoc

Version:

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

9 lines (8 loc) 245 B
/** * Checks if text of a node matches a regex * @param {Node} node - the current node * @param {RegEx} regEx - the regEx against which to check the node */ module.exports = function regExCheck(node, regEx) { return regEx.test(node); };