Skip to main content

no-extra-semicolons

Disallow extra semicolons.

a { color: pink;; }
/** โ†‘
* This semicolons */

This rule ignores semicolons after Less mixins.

The fix option can automatically fix all of the problems reported by this rule.

Options#

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;
}