UNPKG

stylelint-scss

Version:

A collection of SCSS-specific rules for Stylelint

14 lines (12 loc) 273 B
"use strict"; /** * Determines whether a given node has nested sibling. * * @param {import('postcss').Node} node * @return {boolean} */ module.exports = function (node) { return ( node && node.parent.nodes.some(n => n !== node && n.type === "nesting") ); };