securityos/node_modules/stylelint/lib/utils/isStandardSyntaxKeyframesNa...

18 lines
334 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
'use strict';
const hasInterpolation = require('./hasInterpolation');
/**
* Check whether a keyframes name is standard
*
* @param {string} keyframesName
* @returns {boolean}
*/
module.exports = function isStandardSyntaxKeyframesName(keyframesName) {
if (hasInterpolation(keyframesName)) {
return false;
}
return true;
};