mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 07:27:19 -04: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
|
|
```
|