at-rule-allowed-list
許可される@ルールの一覧を指定します。
@keyframes name {}
/** ↑
* At-rules like this */
このルールの引数には、message
セカンダリオプション を使用できます。
オプション
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; }
}