From 0893134543c9d95633107f7e14d433e28cafa43d Mon Sep 17 00:00:00 2001 From: Boris Aranovich Date: Thu, 25 Aug 2016 08:00:53 +0300 Subject: [PATCH] Added .editorconfig file (#3332) (#3313) .editorconfig: specifying preferred indentation per file-type for the project. Closes #3332, #3313 --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..57fe10aa1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + +[*] +indent_size = 4 +indent_style = space +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[{Makefile,*.in}] +indent_style = tab + +[*.md] +trim_trailing_whitespace = false + +[*.{sh,ac}] +indent_size = 2 + +[Dockerfile] +indent_size = 2