# media-feature-name-whitelist **_Deprecated: Instead use the [`media-feature-name-allowed-list`](../media-feature-name-allowed-list/README.md) rule._** Specify a list of allowed media feature names. ```css @media (min-width: 700px) {} /** ↑ * This media feature name */ ``` ## Options `array|string|regex`: `["array", "of", "unprefixed", /media-features/ or "regex"]|"media-feature"|/regex/` Given: ``` ["max-width", "/^my-/"] ``` The following patterns are considered violations: ```css @media (min-width: 50em) {} ``` ```css @media print and (min-resolution: 300dpi) {} ``` ```css @media (min-width < 50em) {} ``` ```css @media (10em < min-width < 50em) {} ``` The following patterns are _not_ considered violations: ```css @media (max-width: 50em) {} ``` ```css @media (my-width: 50em) {} ``` ```css @media (max-width > 50em) {} ``` ```css @media (10em < my-width < 50em) {} ```