Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 727 Bytes

File metadata and controls

46 lines (33 loc) · 727 Bytes

selector-attribute-operator-disallowed-list

Specify a list of disallowed attribute operators.

[target="_blank"] {}
/**    ↑
 * This operator */

The message secondary option can accept the arguments of this rule.

Options

array|string: ["array", "of", "operators"]|"operator"

Given:

["*="]

The following patterns are considered problems:

[class*="test"] {}

The following patterns are not considered problems:

[target] {}
[target="_blank"] {}
[class|="top"] {}