Files should contain an empty new line at the end

  • squid : S00113

Some tools such as Git work better when files end with an empty line. This rule simply generates an issue if it is missing.

For example, a Git diff look like:

+class Test {
+}
\ No newline at end of file

if the empty line is missing at the end of the file.

Close