I have trim_trailing_whitespace_on_save turned on in sublime. Can revert these lines if you want the whitespace.