.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / selector-attribute-operator-space-before / README.md
1 # selector-attribute-operator-space-before
2
3 Require a single space or disallow whitespace before operators within attribute selectors.
4
5 ```css
6 [target =_blank]
7 /**     ↑    
8  * The space before operator */
9 ```
10
11 ## Options
12
13 `string`: `"always"|"never"`
14
15 ### `"always"`
16
17 There *must always* be a single space before the operator.
18
19 The following patterns are considered violations:
20
21 ```css
22 [target=_blank] {}
23 ```
24
25 ```css
26 [target= _blank] {}
27 ```
28
29 ```css
30 [target='_blank'] {}
31 ```
32
33 ```css
34 [target="_blank"] {}
35 ```
36
37 ```css
38 [target= '_blank'] {}
39 ```
40
41 ```css
42 [target= "_blank"] {}
43 ```
44
45 The following patterns are *not* considered violations:
46
47 ```css
48 [target] {}
49 ```
50
51 ```css
52 [target =_blank] {}
53 ```
54
55 ```css
56 [target ='_blank'] {}
57 ```
58
59 ```css
60 [target ="_blank"] {}
61 ```
62
63 ```css
64 [target = _blank] {}
65 ```
66
67 ```css
68 [target = '_blank'] {}
69 ```
70
71 ```css
72 [target = "_blank"] {}
73 ```
74
75 ### `"never"`
76
77 There *must never* be a single space before the operator.
78
79 The following patterns are considered violations:
80
81 ```css
82 [target =_blank] {}
83 ```
84
85 ```css
86 [target = _blank] {}
87 ```
88
89 ```css
90 [target ='_blank'] {}
91 ```
92
93 ```css
94 [target ="_blank"] {}
95 ```
96
97 ```css
98 [target = '_blank'] {}
99 ```
100
101 ```css
102 [target = "_blank"] {}
103 ```
104
105 The following patterns are *not* considered violations:
106
107 ```css
108 [target] {}
109 ```
110
111 ```css
112 [target=_blank] {}
113 ```
114
115 ```css
116 [target='_blank'] {}
117 ```
118
119 ```css
120 [target="_blank"] {}
121 ```
122
123 ```css
124 [target= _blank] {}
125 ```
126
127 ```css
128 [target= '_blank'] {}
129 ```
130
131 ```css
132 [target= "_blank"] {}
133 ```