UNPKG

linter-bundle

Version:

Ready-to use bundle of linting tools, containing configurations for ESLint, stylelint and markdownlint.

79 lines (62 loc) 942 B
# no-extra-semicolons Disallow extra semicolons. <!-- prettier-ignore --> ```css a { color: pink;; } /** ↑ * This semicolons */ ``` This rule ignores semicolons after Less mixins. The [`fix` option](https://stylelint.io/user-guide/options/#fix) can automatically fix all of the problems reported by this rule. ## Options ### `true` The following patterns are considered problems: <!-- prettier-ignore --> ```css @import "x.css";; ``` <!-- prettier-ignore --> ```css @import "x.css"; ; ``` <!-- prettier-ignore --> ```css a { color: pink;; } ``` <!-- prettier-ignore --> ```css a { ;color: pink; } ``` <!-- prettier-ignore --> ```css a { color: pink; ; } ``` <!-- prettier-ignore --> ```css a { color: red; } ; b { color: white; } ``` The following patterns are _not_ considered problems: <!-- prettier-ignore --> ```css @import "x.css"; ``` <!-- prettier-ignore --> ```css a { color: pink; } ```