Pattern: Malformed newline after ,
in selector list
Issue: -
Require a newline or disallow whitespace after the commas of selector lists. End-of-line comments are allowed one space after the comma.
a, /* comment */
b { color: pink; }
There must always be a newline after the commas.
The following patterns are considered violations:
a, b { color: pink; }
a
, b { color: pink; }
The following patterns are not considered violations:
a,
b { color: pink; }
a
,
b { color: pink; }
There must always be a newline after the commas in multi-line selector lists.
The following patterns are considered violations:
a
, b { color: pink; }
The following patterns are not considered violations:
a, b { color: pink; }
a,
b { color: pink; }
a
,
b { color: pink; }
There must never be whitespace after the commas in multi-line selector lists.
The following patterns are considered violations:
a
, b { color: pink; }
a,
b { color: pink; }
The following patterns are not considered violations:
a,b { color: pink; }
a
,b { color: pink; }