stylelint
Version:
A mighty, modern CSS linter.
56 lines (39 loc) • 791 B
Markdown
# media-feature-name-whitelist
Specify a whitelist of allowed media feature names.
```css
/** ↑
* This media feature name */
```
## Options
`array|string|regex`: `["array", "of", "unprefixed", /media-features/ or "regex"]|"media-feature"|/regex/`
Given:
```js
["max-width", "/^my-/"]
```
The following patterns are considered violations:
```css
```
```css
```
```css
```
```css
```
The following patterns are *not* considered violations:
```css
```
```css
```
```css
```
```css
```