You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| README.md | 5 years ago | |
| index.js | 5 years ago | |
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.
The fix option can automatically fix most of the problems reported by this rule.
This rule currently ignores selectors containing comments.
Options
true
The following patterns are considered violations:
.foo .bar {}
.foo
.bar {}
The following patterns are not considered violations:
.foo .bar {}