From a17ecefd2027addf6bd9d168d47a05de28722b61 Mon Sep 17 00:00:00 2001 From: Aziz Khoury Date: Mon, 10 Nov 2014 13:16:48 -0500 Subject: [PATCH 1/2] could you explicitly specify the last 4 rules? I put in some values in there, as placeholders, feel free to change them, and I will follow so we can have a standard, and developers can choose to have the same across plugins as well --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index a259e2210b..d4c486c71b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,3 +2,7 @@ root = true [*.js, *.css, *.tpl] indent_style = tab +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = false From 535529923cfae83a38cb7b8e7a2f4669a6f15f4e Mon Sep 17 00:00:00 2001 From: Aziz Khoury Date: Mon, 10 Nov 2014 13:26:07 -0500 Subject: [PATCH 2/2] why leave json files out? --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index d4c486c71b..71340c4063 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,6 +1,6 @@ root = true -[*.js, *.css, *.tpl] +[*.js, *.css, *.tpl, *.json] indent_style = tab end_of_line = lf charset = utf-8