Specify a blacklist of disallowed 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:
以下模式被认为是个警告:
a { @extend placeholder; }
@keyframes name {
from { top: 10px; }
to { top: 20px; }
}
@-moz-keyframes name {
from { top: 10px; }
to { top: 20px; }
}
The following patterns are not considered warnings:
以下模式正常:
@import "path/to/file.css";