1
0
mirror of https://github.com/thangisme/notes.git synced 2025-02-21 06:57:46 -05:00
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

40 lines
385 B
Markdown

# no-empty-source
Disallow empty sources.
```css
···\n\t
/** ↑
* This empty source */
```
A source containing only whitespace is considered empty.
## Options
### `true`
The following patterns are considered warnings:
```css
```
```css
\t\t
```
```css
\n
```
The following patterns are *not* considered warnings:
```css
a {}
```
```css
/* Only comments */
```