.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / function-max-empty-lines / README.md
1 # function-max-empty-lines
2
3 Limit the number of adjacent empty lines within functions.
4
5 ```css
6 a {
7   transform:
8     translate(
9                 /* ← */
10       1,        /* ↑ */ 
11                 /* ← */
12       1         /* ↑ */
13                 /* ← */
14     );          /* ↑ */
15 }               /* ↑ */
16 /**                ↑
17  *            These lines */
18 ```
19
20 ## Options
21
22 `int`: Maximum number of characters allowed.
23
24 For example, with `0`:
25
26 The following patterns are considered violations:
27
28 ```css
29 a {
30   transform:
31     translate(
32
33       1,
34       1
35     );
36 }
37 ```
38
39 ```css
40 a {
41   transform:
42     translate(
43       1,
44
45       1
46     );
47 }
48 ```
49
50 ```css
51 a {
52   transform:
53     translate(
54       1,
55       1
56
57     );
58 }
59 ```
60
61 The following patterns are *not* considered violations:
62
63 ```css
64 a {
65   transform: 
66     translate(
67       1, 
68       1
69     );
70 }
71 ```