UNPKG

stylelint-scss

Version:

A collection of SCSS-specific rules for Stylelint

10 lines (9 loc) 286 B
/** * Check whether a string has JS template literal interpolation or HTML-like template * * @param {string} string * @return {boolean} If `true`, a string has template literal interpolation */ export default function hasTplInterpolation(string) { return /{.+?}/.test(string); }