UNPKG

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