#at-rule-whitelist

指定允许的@规则的白名单。

    @keyframes name {}
/** ↑
 * 像这样的@规则 */

#选项

array|string: ["array", "of", "unprefixed", "at-rules"]|"at-rule"

给定:

["extend", "keyframes"]

以下模式被视为违规:

@import "path/to/file.css";
@media screen and (max-width: 1024px) {
  a { display: none; }
}

以下模式被视为违规:

a { @extend placeholder; }
@keyframes name {
  from { top: 10px; }
  to { top: 20px; }
}
@KEYFRAMES name {
  from { top: 10px; }
  to { top: 20px; }
}
@-moz-keyframes name {
  from { top: 10px; }
  to { top: 20px; }
}