mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-13 23:02:22 -06:00
30 lines
392 B
Markdown
30 lines
392 B
Markdown
# no-missing-end-of-source-newline
|
|
|
|
Disallow missing end-of-source newlines.
|
|
|
|
```css
|
|
a { color: pink; }
|
|
\n
|
|
/** ↑
|
|
* This newline */
|
|
```
|
|
|
|
Completely empty files are not considered warnings.
|
|
|
|
## Options
|
|
|
|
### `true`
|
|
|
|
The following patterns are considered warnings:
|
|
|
|
```css
|
|
a { color: pink; }
|
|
```
|
|
|
|
The following patterns are *not* considered warnings:
|
|
|
|
```css
|
|
a { color: pink; }
|
|
\n
|
|
```
|