Skip to main content

selector-combinator-disallowed-list

Specify a list of disallowed combinators.

  a + b {}/** โ†‘ * This combinator */

This rule normalizes the whitespace descendant combinator to be a single space.

This rule ignores reference combinators e.g. /for/.

Options#

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

Given:

[">", " "]

The following patterns are considered problems:

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

The following patterns are not considered problems:

a + b {}
a ~ b {}