End of Line @ End of File (EOL @ EOF)

Apache 2.0

Ensure that the file ends with the newline character.

Note: If this recipe modifies a file, it converts the file into plain text. As such, this recipe should be run after any recipe that modifies the language-specific LST.

org.openrewrite.text.EndOfLineAtEndOfFile
mod run . --recipe=org.openrewrite.text.EndOfLineAtEndOfFile

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.