UNPKG

stylelint-scss

Version:

A collection of SCSS-specific rules for Stylelint

10 lines (9 loc) 244 B
/** * Check whether a string has less interpolation * * @param {string} string * @return {boolean} If `true`, a string has less interpolation */ export default function hasLessInterpolation(string) { return /@{[\s\S]*?}/.test(string); }