projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.gitignore added
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
stylelint
/
lib
/
rules
/
no-empty-source
/
README.md
1
# no-empty-source
2
3
Disallow empty sources.
4
5
```css
6
···\n\t
7
/** ↑
8
* This empty source */
9
```
10
11
A source containing only whitespace is considered empty.
12
13
## Options
14
15
### `true`
16
17
The following patterns are considered violations:
18
19
```css
20
21
```
22
23
```css
24
\t\t
25
```
26
27
```css
28
\n
29
```
30
31
The following patterns are *not* considered violations:
32
33
```css
34
a {}
35
```
36
37
```css
38
/* Only comments */
39
```