From 8edff1065a859b20aa315a1a31bd5f7477d53962 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 11 Oct 2018 09:07:22 +0000 Subject: [PATCH] add .editorconfig https://editorconfig.org/ --- .editorconfig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..7aca75262b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,31 @@ +# https://editorconfig.org/ + +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 4 + +[{CMakeLists.*,*.cmake}] +indent_style = space +indent_size = 2 + +[Makefile] +indent_style = tab + +[*.{bat,cmd,cmd.*}] +end_of_line = crlf +indent_style = space +indent_size = 2 + +[*.{ps1,ps1.*}] +end_of_line = crlf +indent_style = space +indent_size = 4 + +[*.{md,markdown}] +indent_size = 2