1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 08:17:34 -04:00
notes/node_modules/stylelint/lib/rules/no-extra-semicolons/README.md
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

586 B

no-extra-semicolons

Disallow extra semicolons.

a { color: pink;; }
/**             ↑
 *  This semicolons */

This rule ignores semicolons after Less mixins.

Options

true

The following patterns are considered warnings:

@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 warnings:

@import "x.css";
a {
  color: pink;
}