mirror of https://github.com/thangisme/notes.git
548 B
548 B
selector-attribute-operator-whitelist
Specify a whitelist of allowed attribute operators.
[target="_blank"] {}
/** ↑
* These operators */
Options
array|string
: ["array", "of", "operators"]|"operator"
Given:
[ "=", "|=" ]
The following patterns are considered warnings:
[class*="test"] {}
[title~="flower"] {}
[class^="top"] {}
The following patterns are not considered warnings:
[target] {}
[target="_blank"] {}
[class|="top"] {}