UNPKG

stylelint-scss

Version:

A collection of SCSS-specific rules for Stylelint

10 lines (9 loc) 203 B
/** * Get an at rule's base name * * @param {AtRule} atRule * @return {string} The name */ export default function atRuleBaseName(atRule) { return atRule.params.replace(/\([^)]*\)/, "").trim(); }