From b937f3901e8dcb3f108769166fcf9d3be5a43fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 22 Apr 2019 14:29:24 +0200 Subject: [PATCH] Tell the editors to strip trailing whitespace and add a trailing newline. --- .editorconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.editorconfig b/.editorconfig index 96dc25f19..ae9e1bf67 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,6 +1,8 @@ [*] indent_style = space indent_size = 4 +trim_trailing_whitespace = true +insert_final_newline = true [*.{css,html,yml,rb}] indent_style = space