selector-attribute-operator-allowed-list
Specify a list of allowed attribute operators.
[target="_blank"] {}
/** ↑
* This operator */
The message
secondary option can accept the arguments of this rule.
Options
Array<string>
["array", "of", "attribute-operators"]
Given:
{
"selector-attribute-operator-allowed-list": ["=", "|="]
}
The following patterns are considered problems:
[class*="test"] {}
[title~="flower"] {}
[class^="top"] {}
The following patterns are not considered problems:
[target] {}
[target="_blank"] {}
[class|="top"] {}