Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 658 Bytes

selector-attribute-operator-disallowed-list.md

File metadata and controls

41 lines (26 loc) · 658 Bytes

Pattern: Use of blacklisted attribute operator

Issue: -

Description

Specify a blacklist of disallowed attribute operators.

Examples

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"] {}

Further Reading