1 | # selector-attribute-operator-blacklist
|
2 |
|
3 | Specify a blacklist of disallowed attribute operators.
|
4 |
|
5 |
|
6 | ```css
|
7 | [target="_blank"] {}
|
8 | /** ↑
|
9 | * This operator */
|
10 | ```
|
11 |
|
12 | ## Options
|
13 |
|
14 | `array|string`: `["array", "of", "operators"]|"operator"`
|
15 |
|
16 | Given:
|
17 |
|
18 | ```
|
19 | ["*="]
|
20 | ```
|
21 |
|
22 | The following patterns are considered violations:
|
23 |
|
24 |
|
25 | ```css
|
26 | [class*="test"] {}
|
27 | ```
|
28 |
|
29 | The following patterns are _not_ considered violations:
|
30 |
|
31 |
|
32 | ```css
|
33 | [target] {}
|
34 | ```
|
35 |
|
36 |
|
37 | ```css
|
38 | [target="_blank"] {}
|
39 | ```
|
40 |
|
41 |
|
42 | ```css
|
43 | [class|="top"] {}
|
44 | ```
|