mirror of
https://github.com/thangisme/notes.git
synced 2025-09-24 08:24:03 -04:00
Initial commit
This commit is contained in:
13
node_modules/stylelint/lib/utils/hasScssInterpolation.js
generated
vendored
Normal file
13
node_modules/stylelint/lib/utils/hasScssInterpolation.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/* @flow */
|
||||
"use strict"
|
||||
|
||||
/**
|
||||
* Check whether a string has scss interpolation
|
||||
*/
|
||||
module.exports = function (string/*: string*/)/*: boolean*/ {
|
||||
if (/#{.+?}/.test(string)) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
Reference in New Issue
Block a user