media-feature-name-allowed-list
Specify a list of allowed media feature names.
@media (min-width: 700px) {}
/** ↑
* This media feature name */
The message
secondary option can accept the arguments of this rule.
Options
array|string|regex
: ["array", "of", "unprefixed", /media-features/, "regex"]|"media-feature"|"/regex/"|/regex/
Given:
["max-width", "/^my-/"]
The following patterns are considered problems:
@media (min-width: 50em) {}