Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 755 Bytes

selector-combinator-disallowed-list.md

File metadata and controls

46 lines (30 loc) · 755 Bytes

Pattern: Use of blacklisted combinator

Issue: -

Description

This rule normalizes the whitespace descendant combinator to be a single space. It ignores reference combinators e.g. /for/.

Examples

array|string: ["array", "of", "combinators"]|"combinator"

Given:

[">", " "]

The following patterns are considered violations:

a > b {}
a b {}
a
b {}

The following patterns are not considered violations:

a + b {}
a ~ b {}

Further Reading