In Sublime

```json
"nsure_newline_at_eof_on_save" : true
```