Pattern: Malformed whitespace for parentheses in pseudo-class selector
Issue: -
Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors.
There must always be a single space inside the parentheses.
The following patterns are considered violations:
input:not([type="submit"]) {}
input:not([type="submit"] ) {}
The following patterns are not considered violations:
input:not( [type="submit"] ) {}
There must never be whitespace on the inside the parentheses.
The following patterns are considered violations:
input:not( [type="submit"] ) {}
input:not( [type="submit"]) {}
The following patterns are not considered violations:
input:not([type="submit"]) {}