stylelint
Version:
A mighty, modern CSS linter.
17 lines (14 loc) • 308 B
JavaScript
/**
* Check whether a function is standard
*
* @param {import('postcss-value-parser').Node} node
* @returns {boolean}
*/
module.exports = function (node) {
// Function nodes without names are things in parentheses like Sass lists
if (!node.value) {
return false;
}
return true;
};
;