.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / block-no-empty / README.md
1 # block-no-empty
2
3 Disallow empty blocks.
4
5 ```css
6  a { }
7 /** ↑
8  * Blocks like this */
9 ```
10
11 ## Options
12
13 ### `true`
14
15 The following patterns are considered violations:
16
17 ```css
18 a {}
19 ```
20
21 ```css
22 a { }
23 ```
24
25 ```css
26 @media print { a {} }
27 ```
28
29 The following patterns are *not* considered violations:
30
31 ```css
32 a { color: pink; }
33 ```
34
35 ```css
36 @media print { a { color: pink; } }
37 ```