From 421426e83ef3f251be94037dd8ef954fc2a544d8 Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Mon, 30 Dec 2019 19:21:59 +0000 Subject: [PATCH] Update editorconfig for JavaScript syntax --- .editorconfig | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index e46085531..a3f6ab3b0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,10 +4,16 @@ root = true trim_trailing_whitespace = true insert_final_newline = false -# for ESLint -[*.js] -end_of_line = lf [*.{js,json,css,html}] indent_style = space -indent_size = 4 \ No newline at end of file +indent_size = 4 + + +# EOL for ESLint +# newline follows Airbnb style guide +# mix of indent size between ES5 and ES6 syntax files +[*.js] +end_of_line = lf +insert_final_newline = true +indent_size = tab_width \ No newline at end of file