selector-combinator-disallowed-list
Specify a list of disallowed combinators.
a + b {}
/** ↑
* This combinator */
This rule normalizes the whitespace descendant combinator to be a single space.
This rule ignores reference combinators e.g. /for/
.
The message
secondary option can accept the arguments of this rule.
Options
Array<string>
["array", "of", "combinators"]
Given:
{
"selector-combinator-disallowed-list": [">", " "]
}
The following patterns are considered problems:
a > b {}
a b {}
a
b {}
The following patterns are not considered problems:
a + b {}
a ~ b {}