mirror of https://github.com/lnbook/lnbook
travis: Add linter to make sure all lines end with a newline character (#68)
* travis: Add linter to make sure all lines end with a newline character Ending newlines make line based Unix tools such as `tail`, etc work as expected. Without ending newline: ``` prompt$ tail -1 ch02.asciidoc * blockchain to save all transactions vs blockchain as a court system prompt$ ``` With ending newline: ``` prompt$ tail -1 ch02.asciidoc * blockchain to save all transactions vs blockchain as a court system prompt$ ``` Also, makes `git` not complain about "No newline at end of file" in diffs. * Add newline at end of file * Remove trailing whitespacepull/69/head
parent
b903077184
commit
4b418666e6
Loading…
Reference in New Issue