projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update .bashrc
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
stylelint
/
lib
/
rules
/
no-extra-semicolons
/
README.md
1
# no-extra-semicolons
2
3
Disallow extra semicolons.
4
5
```css
6
a { color: pink;; }
7
/** ↑
8
* This semicolons */
9
```
10
11
This rule ignores semicolons after Less mixins.
12
13
## Options
14
15
### `true`
16
17
The following patterns are considered violations:
18
19
```css
20
@import "x.css";;
21
```
22
23
```css
24
@import "x.css";
25
;
26
```
27
28
```css
29
a {
30
color: pink;;
31
}
32
```
33
34
```css
35
a {
36
;color: pink;
37
}
38
```
39
40
```css
41
a {
42
color: pink;
43
;
44
}
45
```
46
47
```css
48
a {
49
color: red;
50
}
51
;
52
b {
53
color: white;
54
}
55
```
56
57
The following patterns are *not* considered violations:
58
59
```css
60
@import "x.css";
61
```
62
63
```css
64
a {
65
color: pink;
66
}
67
```