Skip to main content


Disallow non-space characters for descendant combinators of selectors.

.foo .bar .baz {}
/** โ†‘ โ†‘
* These descendant combinators */

This rule ensures that only a single space is used and ensures no tabs, newlines, nor multiple spaces are used for descendant combinators of selectors.

The fix option can automatically fix most of the problems reported by this rule.

This rule currently ignores selectors containing comments.



The following patterns are considered violations:

.foo .bar {}
.bar {}

The following patterns are not considered violations:

.foo .bar {}