mirror of
https://github.com/thangisme/notes.git
synced 2025-09-25 03:24:08 -04:00
Initial commit
This commit is contained in:
11
node_modules/stylelint/lib/utils/isKeyframeRule.js
generated
vendored
Normal file
11
node_modules/stylelint/lib/utils/isKeyframeRule.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/* @flow */
|
||||
"use strict"
|
||||
|
||||
/**
|
||||
* Check if a rule is a keyframe one
|
||||
*/
|
||||
module.exports = function (rule/*: postcss$rule*/)/*: boolean*/ {
|
||||
const parent = rule.parent
|
||||
|
||||
return parent.type === "atrule" && parent.name.toLowerCase() === "keyframes"
|
||||
}
|
Reference in New Issue
Block a user