.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / selector-attribute-operator-whitelist / README.md
1 # selector-attribute-operator-whitelist
2
3 Specify a whitelist of allowed attribute operators.
4
5 ```css
6 [target="_blank"] {}
7 /**    ↑
8  * These operators */
9 ```
10
11 ## Options
12
13 `array|string`: `["array", "of", "operators"]|"operator"`
14
15 Given:
16
17 ```js
18 [ "=", "|=" ]
19 ```
20
21 The following patterns are considered violations:
22
23 ```css
24 [class*="test"] {}
25 ```
26
27 ```css
28 [title~="flower"] {}
29 ```
30
31 ```css
32 [class^="top"] {}
33 ```
34
35 The following patterns are *not* considered violations:
36
37 ```css
38 [target] {}
39 ```
40
41 ```css
42 [target="_blank"] {}
43 ```
44
45 ```css
46 [class|="top"] {}
47 ```