mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-13 23:02:22 -06:00
40 lines
385 B
Markdown
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 */
|
|
```
|