1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 07:17:17 -04:00
notes/node_modules/stylelint/lib/rules/no-extra-semicolons/README.md

68 lines
586 B
Markdown
Raw Normal View History

2017-03-09 13:16:08 -05:00
# no-extra-semicolons
Disallow extra semicolons.
```css
a { color: pink;; }
/** ↑
* This semicolons */
```
This rule ignores semicolons after Less mixins.
## Options
### `true`
The following patterns are considered warnings:
```css
@import "x.css";;
```
```css
@import "x.css";
;
```
```css
a {
color: pink;;
}
```
```css
a {
;color: pink;
}
```
```css
a {
color: pink;
;
}
```
```css
a {
color: red;
}
;
b {
color: white;
}
```
The following patterns are *not* considered warnings:
```css
@import "x.css";
```
```css
a {
color: pink;
}
```