lib/plugin.js
function parentIsAllowedAtRule(rule) {
  return (
    rule.parent &&
    rule.parent.type === 'atrule' &&
    !/(?:media|supports|for)$/.test(rule.parent.name)
  )
}
function parentIsAllowedAtRule(rule) {
  return (
    rule.parent &&
    rule.parent.type === 'atrule' &&
    !/(?:media|supports|for)$/.test(rule.parent.name)
  )
}
function parentIsAllowedAtRule ( rule ) { return ( rule . parent && rule . parent . type === 'atrule' && ! / (?:media|supports|for)$ / . test ( rule . parent . name ) ) }
Returns true if the parent rule is a not a media or supports atrule

@param {Rule} rule The rule to check
@return {boolean} true if the direct parent is a keyframe rule
Returns true if the parent rule is a not a media or supports atrule