You should end all files with a newline, if there's editorconfig support for your editor it'll be done automagically: http://editorconfig.org/