mirror of
https://github.com/thangisme/notes.git
synced 2025-11-23 13:12:25 -05:00
Initial commit
This commit is contained in:
37
node_modules/stylelint/lib/rules/block-no-empty/README.md
generated
vendored
Normal file
37
node_modules/stylelint/lib/rules/block-no-empty/README.md
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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; } }
|
||||
```
|
||||
Reference in New Issue
Block a user