Pattern: Use of blacklisted media feature
Issue: -
Caveat: Media feature names within a range context are currently ignored.
array|string|regex
: ["array", "of", "unprefixed", "media-features" or "regex"]|"media-feature"|/regex/
Given:
["max-width", "/^some-/"]
The following patterns are considered violations:
@media (max-width: 50em) {}
@media (some-width: 50em) {}
The following patterns are not considered violations:
@media (min-width: 50em) {}
@media print and (min-resolution: 300dpi) {}