From 445cff00257e399279e0bb3247d71cf9d1ae6582 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Mon, 26 Dec 2022 09:42:35 +0300 Subject: [PATCH] add editorconfig Signed-off-by: R4SAS --- .editorconfig | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..97acf820 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,27 @@ +# editorconfig.org + +root = true + +[*] +# Unix style files +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[Makefile,Makefile.*] +indent_style = tab +indent_size = 4 + +[*.{h,cpp}] +indent_style = tab +indent_size = 4 + +[*.rc] +indent_style = space +indent_size = 4 + +[*.{md,markdown}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = false