Set ensure new line at end preference to true to avoid git warning.