mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 06:27:23 -04:00
.. | ||
index.js | ||
README.md |
selector-descendant-combinator-no-non-space
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.
Options
true
The following patterns are considered warnings:
.foo .bar {}
.foo
.bar {}
The following patterns are not considered warnings:
.foo .bar {}