.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / value-list-max-empty-lines / README.md
1 # value-list-max-empty-lines
2
3 Limit the number of adjacent empty lines within value lists.
4
5 ```css
6 a {
7   box-shadow:
8     inset 0 2px 0 #dcffa6,
9                     /* ← */
10     0 2px 5px #000; /* ↑ */
11 }                   /* ↑ */
12 /**                    ↑
13  *       This empty line */
14 ```
15
16 ## Options
17
18 `int`: Maximum number of empty lines.
19
20 For example, with `0`:
21
22 The following patterns are considered violations:
23
24 ```css
25 a {
26   padding: 10px
27
28     10px
29     10px
30     10px
31 }
32 ```
33
34 ```css
35 a {
36   padding: 
37     10px
38     10px
39     10px
40
41     10px
42 }
43 ```
44
45 ```css
46 a {
47   box-shadow: inset 0 2px 0 #dcffa6,
48
49     0 2px 5px #000;
50 }
51 ```
52
53 ```css
54 a {
55   box-shadow:
56     inset 0 2px 0 #dcffa6,
57
58     0 2px 5px #000;
59 }
60 ```
61
62 The following patterns are *not* considered violations:
63
64 ```css
65 a {
66   padding: 10px 10px 10px 10px
67 }
68 ```
69
70 ```css
71 a {
72   padding: 10px
73     10px
74     10px
75     10px
76 }
77 ```
78
79 ```css
80 a {
81   padding:
82     10px
83     10px
84     10px
85     10px
86 }
87 ```
88
89 ```css
90 a {
91   box-shadow: inset 0 2px 0 #dcffa6, 0 2px 5px #000;
92 }
93 ```
94
95 ```css
96 a {
97   box-shadow: inset 0 2px 0 #dcffa6,
98     0 2px 5px #000;
99 }
100 ```
101
102 ```css
103 a {
104   box-shadow:
105     inset 0 2px 0 #dcffa6,
106     0 2px 5px #000;
107 }
108 ```