Skip to content

Files

Latest commit

 

History

History
42 lines (28 loc) · 563 Bytes

selector-combinator-blacklist.md

File metadata and controls

42 lines (28 loc) · 563 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 {}