Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 748 Bytes

File metadata and controls

46 lines (33 loc) · 748 Bytes

selector-attribute-operator-blacklist

Deprecated: Instead use the selector-attribute-operator-disallowed-list rule.

Specify a list of disallowed attribute operators.

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

Options

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

Given:

["*="]

The following patterns are considered violations:

[class*="test"] {}

The following patterns are not considered violations:

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