From 5d84c666bbdb58774e5d740fc894e49dac988009 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Mon, 3 Oct 2016 16:57:08 +0300 Subject: [PATCH] Trim trailing whitespace in all files but Markdown (#3044) --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index 3d124df06..6dfa67107 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,6 +3,7 @@ root = true [*] end_of_line = lf insert_final_newline = true +trim_trailing_whitespace = true [*.{css,js,json,py,yml}] indent_style = space @@ -15,3 +16,6 @@ indent_size = 4 [*.{js,json,yml}] indent_size = 2 + +[*.md] +trim_trailing_whitespace = false