From 61f2b46b46910d2e8a0daa5d67a944732de6b7be Mon Sep 17 00:00:00 2001 From: Raul Hidalgo Caballero Date: Tue, 17 Jan 2017 20:48:18 +0100 Subject: [PATCH 1/3] Added EditorConfig File --- .editorconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..9b74cec3c47 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# EditorConfig http://EditorConfig.org + +# Project Root +root = true + +# Default Code Style +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = tab +insert_final_newline = true +tab_width = 4 +trim_trailing_whitespace = true + +# Python Code Style +[*.py] +indent_style = space From 32b2bd446b16e7e49e099e72bd0d4896dc98adc2 Mon Sep 17 00:00:00 2001 From: Raul Hidalgo Caballero Date: Thu, 19 Jan 2017 16:50:50 +0100 Subject: [PATCH 2/3] Updated .editorconfig --- .editorconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 9b74cec3c47..ee8ed065914 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,12 +7,12 @@ root = true [*] charset = utf-8 end_of_line = lf -indent_size = 4 -indent_style = tab +indent_size = 2 +indent_style = space insert_final_newline = true tab_width = 4 trim_trailing_whitespace = true # Python Code Style [*.py] -indent_style = space +indent_size = 4 From e43f068eed07c5f7533d5617beb333ebf076a0af Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Tue, 7 Feb 2017 11:10:40 -0500 Subject: [PATCH 3/3] [#3404] remove tab_width setting --- .editorconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index ee8ed065914..cb29947d9b2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,7 +10,6 @@ end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true -tab_width = 4 trim_trailing_whitespace = true # Python Code Style