diff --git a/bin/dib-lint b/bin/dib-lint index c0d8d8c7..4910faff 100755 --- a/bin/dib-lint +++ b/bin/dib-lint @@ -83,5 +83,9 @@ for i in $(find elements -type f); do fi fi fi + + if [ "$(tail -c 1 $i)" != "" ]; then + echo "ERROR: No newline at end of file: $i" + fi done exit $rc