mirror of
https://github.com/thangisme/notes.git
synced 2025-09-25 00:46:16 -04:00
Initial commit
This commit is contained in:
14
node_modules/stylelint/lib/utils/isStandardSyntaxMediaFeatureName.js
generated
vendored
Normal file
14
node_modules/stylelint/lib/utils/isStandardSyntaxMediaFeatureName.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/* @flow */
|
||||
"use strict"
|
||||
|
||||
/**
|
||||
* Check whether a media feature name is standard
|
||||
*/
|
||||
module.exports = function (mediaFeatureName/*: string*/)/*: boolean*/ {
|
||||
// SCSS interpolation
|
||||
if (/#{.+?}|\$.+?/.test(mediaFeatureName)) {
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
Reference in New Issue
Block a user