From 1be35dac7dbdaacb06c6db0180047aca73b8e527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 21 Mar 2018 19:11:52 +0100 Subject: [PATCH 1/2] tools: remove src dir from JS editorconfig rule The src directory does not contain any JavaScript files, so there is no need to match it. --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 9eda3f95b66ab0..71634ce59a636b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,7 +9,7 @@ insert_final_newline = true [vcbuild.bat] end_of_line = crlf -[{lib,src,test}/**.js] +[{lib,test}/**.js] indent_style = space indent_size = 2 From 5a273a646996d27229de2399f27b654c0489b96d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 21 Mar 2018 19:22:10 +0100 Subject: [PATCH 2/2] tools: also apply editorconfig rules to tools --- .editorconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 71634ce59a636b..52b84b424fb9a0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,7 +9,7 @@ insert_final_newline = true [vcbuild.bat] end_of_line = crlf -[{lib,test}/**.js] +[{lib,test,tools}/**.js] indent_style = space indent_size = 2 @@ -29,7 +29,7 @@ indent_size = 2 indent_style = tab indent_size = 8 -[{deps,tools}/**] +[{deps}/**] indent_style = ignore indent_size = ignore end_of_line = ignore