1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 07:17:17 -04:00
notes/node_modules/stylelint/lib/rules/block-no-empty/README.md

38 lines
367 B
Markdown
Raw Normal View History

2017-03-09 13:16:08 -05:00
# block-no-empty
Disallow empty blocks.
```css
a { }
/** ↑
* Blocks like this */
```
## Options
### `true`
The following patterns are considered warnings:
```css
a {}
```
```css
a { }
```
```css
@media print { a {} }
```
The following patterns are *not* considered warnings:
```css
a { color: pink; }
```
```css
@media print { a { color: pink; } }
```