UNPKG

stylelint

Version:

A mighty CSS linter that helps you avoid errors and enforce conventions.

9 lines (8 loc) 201 B
/** * @param {string} source * @param {string} [blurChar] * @returns {string} */ export default function blurInterpolation(source, blurChar = ' ') { return source.replace(/[#@{}]+/g, blurChar); }