From 2abab17935f169372fb689b86b59a06b88656713 Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Wed, 25 Jun 2025 08:22:54 +0200 Subject: [PATCH] Add .editorconfig --- .editorconfig | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..6e37ad64b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,27 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 4 + +[*.{cpp,h,hpp,c}] +indent_size = 2 + +[*.{yml,yaml}] +indent_size = 2 + +[*.py] +indent_size = 4 + +[Makefile] +indent_style = tab + +[{CMakeLists.txt,*.cmake}] +indent_size = 2 + +[*.{md,rst}] +trim_trailing_whitespace = false