rspec/rules/S113/rule.adoc
2023-10-27 09:30:18 +02:00

16 lines
287 B
Plaintext

== Why is this an issue?
Some tools work better when files end with a newline.
This rule simply generates an issue if it is missing.
For example, a Git diff looks like this if the empty line is missing at the end of the file:
----
+class Test {
+}
\ No newline at end of file
----