Rule: eofline

Ensures the file ends with a newline.

Fix for single-line files is not supported.

Rationale

It is a standard convention to end files with a newline.

Notes:
Has Fixer

Config

Not configurable.

Config examples
"eofline": true
Schema
null