Pattern: File does not end with newline
Issue: -
This rule enforces a new line character (\n
) at the end of files.
The POSIX standard requires the last line to end with a new line character. All UNIX tools expect a new line at the end of files. Most text editors use this convention too.