first commit

This commit is contained in:
2025-03-07 22:27:18 +08:00
commit 912da26042
4457 changed files with 306818 additions and 0 deletions

17
node_modules/stylelint/lib/utils/isKeyframeRule.mjs generated vendored Normal file
View File

@@ -0,0 +1,17 @@
import { isAtRule } from './typeGuards.mjs';
/**
* Check if a rule is a keyframe one
*
* @param {import('postcss').Rule} rule
* @returns {boolean}
*/
export default function isKeyframeRule(rule) {
const parent = rule.parent;
if (!parent) {
return false;
}
return isAtRule(parent) && parent.name.toLowerCase() === 'keyframes';
}