Strip trailing whitespace

Add editor config