first commit
This commit is contained in:
11
node_modules/stylelint/lib/utils/hasScssInterpolation.mjs
generated
vendored
Normal file
11
node_modules/stylelint/lib/utils/hasScssInterpolation.mjs
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
const HAS_SCSS_INTERPOLATION = /#\{.+?\}/s;
|
||||
|
||||
/**
|
||||
* Check whether a string has scss interpolation
|
||||
*
|
||||
* @param {string} string
|
||||
* @returns {boolean}
|
||||
*/
|
||||
export default function hasScssInterpolation(string) {
|
||||
return HAS_SCSS_INTERPOLATION.test(string);
|
||||
}
|
||||
Reference in New Issue
Block a user