Disallow extra semicolons.
a { color: pink;; } /** ↑ * This semicolons */
This rule ignores semicolons after Less mixins.
The --fix
option on the command line can automatically fix all of the problems reported by this rule.
true
The following patterns are considered violations:
@import "x.css";;
@import "x.css"; ;
a { color: pink;; }
a { ;color: pink; }
a { color: pink; ; }
a { color: red; } ; b { color: white; }
The following patterns are not considered violations:
@import "x.css";
a { color: pink; }