epiphany/node_modules/stylelint/lib/utils/isStandardSyntaxKeyframesName.js
2023-12-09 22:48:07 -08:00

17 lines
334 B
JavaScript

'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;
};