From b6bed112ee9b643a4b7f6ed199e394c95a49aa44 Mon Sep 17 00:00:00 2001 From: Alexander Shepelin Date: Fri, 17 Mar 2017 01:09:44 +0300 Subject: [PATCH] Add .editorconfig to keep code style consistent --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..b662606c1c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.py] +indent_style = space +indent_size = 4 + +[*.{js,css,html}] +indent_style = space +indent_size = 2