.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / selector-pseudo-class-parentheses-space-inside / README.md
1 # selector-pseudo-class-parentheses-space-inside
2
3 Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors.
4
5 ```css
6 input:not( [type="submit"] ) {}
7 /**      ↑                 ↑
8  * The space inside these two parentheses */
9 ```
10
11 ## Options
12
13 `string`: `"always"|"never"`
14
15 ### `"always"`
16
17 There *must always* be a single space inside the parentheses.
18
19 The following patterns are considered violations:
20
21 ```css
22 input:not([type="submit"]) {}
23 ```
24
25 ```css
26 input:not([type="submit"] ) {}
27 ```
28
29 The following patterns are *not* considered violations:
30
31 ```css
32 input:not( [type="submit"] ) {}
33 ```
34
35 ### `"never"`
36
37 There *must never* be whitespace on the inside the parentheses.
38
39 The following patterns are considered violations:
40
41 ```css
42 input:not( [type="submit"] ) {}
43 ```
44
45 ```css
46 input:not( [type="submit"]) {}
47 ```
48
49 The following patterns are *not* considered violations:
50
51 ```css
52 input:not([type="submit"]) {}
53 ```