.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / selector-list-comma-space-after / README.md
1 # selector-list-comma-space-after
2
3 Require a single space or disallow whitespace after the commas of selector lists.
4
5 ```css
6    a, b { color: pink; }
7 /** ↑
8  * The space after this comma */
9 ```
10
11 ## Options
12
13 `string`: `"always"|"never"|"always-single-line"|"never-single-line"`
14
15 ### `"always"`
16
17 There *must always* be a single space after the commas.
18
19 The following patterns are considered violations:
20
21 ```css
22 a,b { color: pink; }
23 ```
24
25 ```css
26 a ,b { color: pink; }
27 ```
28
29 The following patterns are *not* considered violations:
30
31 ```css
32 a, b { color: pink; }
33 ```
34
35 ```css
36 a , b { color: pink; }
37 ```
38
39 ### `"never"`
40
41 There *must never* be whitespace after the commas.
42
43 The following patterns are considered violations:
44
45 ```css
46 a, b { color: pink; }
47 ```
48
49 ```css
50 a , b { color: pink; }
51 ```
52
53 The following patterns are *not* considered violations:
54
55 ```css
56 a,b { color: pink; }
57 ```
58
59 ```css
60 a ,b { color: pink; }
61 ```
62
63 ### `"always-single-line"`
64
65 There *must always* be a single space after the commas in single-line selector lists.
66
67 The following patterns are considered violations:
68
69 ```css
70 a,b { color: pink; }
71 ```
72
73 The following patterns are *not* considered violations:
74
75 ```css
76 a
77 ,b { color: pink; }
78 ```
79
80 ### `"never-single-line"`
81
82 There *must never* be a single space after the commas in single-line selector lists.
83
84 The following patterns are considered violations:
85
86 ```css
87 a, b { color: pink; }
88 ```
89
90 The following patterns are *not* considered violations:
91
92 ```css
93 a
94 , b { color: pink; }
95 ```