Skip to content

hk util end-of-file-fixer

  • Usage: hk util end-of-file-fixer [-d --diff] [-f --fix] <FILES>…

Check for and optionally fix missing final newlines

Arguments

<FILES>…

Files to check/fix

Flags

-d --diff

Output a diff of the change. Cannot use with fix

-f --fix

Fix files by adding final newline

Licensed under the MIT License. Maintained by @jdx and friends.