Skip to content

Files

Latest commit

 

History

History
37 lines (24 loc) · 455 Bytes

selector-attribute-operator-blacklist.md

File metadata and controls

37 lines (24 loc) · 455 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"] {}