stylelint
Version:
A mighty, modern CSS linter.
42 lines (28 loc) • 694 B
Markdown
# media-feature-name-whitelist
Specify a whitelist of allowed media feature names.
```css
/** ↑
* These media feature names */
```
**Caveat:** Media feature names within a range context are currently ignored.
## Options
`array|string|regex`: `["array", "of", "unprefixed", "media-features" or "regex"]|"media-feature"|/regex/`
Given:
```js
["max-width", "/^my-/"]
```
The following patterns are considered warnings:
```css
```
```css
```
The following patterns are *not* considered warnings:
```css
```
```css
```