1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-11 08:50:52 +00:00
notes/node_modules/stylelint/lib/rules/selector-no-universal/README.md
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

50 lines
405 B
Markdown

# selector-no-universal
Disallow the universal selector.
```css
* {}
/** ↑
* This selector */
```
## Options
### `true`
The following patterns are considered warnings:
```css
* {}
```
```css
*, .foo {}
```
```css
* > [foo] {}
```
The following patterns are *not* considered warnings:
```css
a {}
```
```css
.foo {}
```
```css
[foo] {}
```
```css
#foo {}
```
```css
.bar > #foo {}
```