.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / no-eol-whitespace / README.md
1 # no-eol-whitespace
2
3 Disallow end-of-line whitespace.
4
5 ```css
6 a { color: pink; }···
7 /**               ↑
8  *  This whitespace */
9 ```
10
11 ## Options
12
13 ### `true`
14
15 The following patterns are considered violations:
16
17 ```css
18 a { color: pink; }·
19 ```
20
21 ```css
22 a { color: pink; }····
23 ```
24
25 Comment strings are also checked -- so the following is a violation:
26
27 ```css
28 /* something····
29  * something else */
30 ```
31
32 The following patterns are *not* considered violations:
33
34 ```css
35 a { color: pink; }
36 ```
37
38 ```css
39 /* something
40  * something else */
41 ```
42
43 ## Optional secondary options
44
45 ### `ignore: ["empty-lines"]`
46
47 #### `"empty-lines"`
48
49 Allow end-of-line whitespace for lines that are only whitespace, "empty" lines.
50
51 The following patterns are *not* considered violations:
52
53 ```css
54 a {
55   color: pink;
56 ··
57   background: orange;
58 }
59 ```
60
61 ```css
62 ····
63 ```
64
65 ```css
66 a { color: pink; }
67 ····
68 ```