UNPKG

stylelint

Version:

A mighty CSS linter that helps you avoid errors and enforce conventions.

16 lines (13 loc) 315 B
import hasInterpolation from './hasInterpolation.mjs'; /** * Check whether a keyframes name is standard * * @param {string} keyframesName * @returns {boolean} */ export default function isStandardSyntaxKeyframesName(keyframesName) { if (hasInterpolation(keyframesName)) { return false; } return true; }