From 59e9fbd33675e4422a49de3d1a067e448a5df8b9 Mon Sep 17 00:00:00 2001 From: Akshay Birajdar Date: Wed, 16 Oct 2019 12:01:05 +0530 Subject: [PATCH] Introduce .editorconfig (#149) .editorconfig will allow maintaining consistent coding style across various text editors and IDEs --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..7203adb09 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs +# @see http://editorconfig.org +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = spaces +tab_width = 2 + +[{*.{rb,erb,js,coffee,json,yml,css,scss,sh,markdown,md,html}] +indent_size = 2