1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 10:37:25 -04:00
notes/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/README.md

33 lines
554 B
Markdown
Raw Normal View History

2017-03-09 13:16:08 -05:00
# selector-descendant-combinator-no-non-space
Disallow non-space characters for descendant combinators of selectors.
```css
.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:
```css
.foo .bar {}
```
```css
.foo
.bar {}
```
The following patterns are *not* considered warnings:
```css
.foo .bar {}
```