Try to leave the EOF whitespace. EditorConfig should help with that