diff options
Diffstat (limited to 'assets/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/README.md')
-rw-r--r-- | assets/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/assets/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/README.md b/assets/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/README.md new file mode 100644 index 0000000..ce50278 --- /dev/null +++ b/assets/node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/README.md @@ -0,0 +1,34 @@ +# 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. + +The `--fix` option on the [command line](../../../docs/user-guide/cli.md#autofixing-errors) can automatically fix most of the problems reported by this rule. + +## Options + +### `true` + +The following patterns are considered violations: + +```css +.foo .bar {} +``` + +```css +.foo +.bar {} +``` + +The following patterns are *not* considered violations: + +```css +.foo .bar {} +``` |