Specify a whitelist of allowed at-rules.
指定一个允许使用的 at 规则的白名单。
@keyframes name {}
/** ↑
* At-rules like this */
array|string: ["array", "of", "unprefixed", "at-rules"]|"at-rule"
Given:
给出:
["extend", "keyframes"]
The following patterns are considered warnings:
以下模式被认为是个警告:
@import "path/to/file.css";
@media screen and (max-width: 1024px) {
a { display: none; }
}
The following patterns are not considered warnings:
以下模式正常:
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; }
}