From 9e9ece60a9deb3f4e687fd4eed1f967214553348 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Mon, 19 Feb 2024 02:54:23 -0500 Subject: [PATCH] Add .editorconfig Change-Id: I8c7f9e6e0718d7324dbf59294c3e5d56cfa501d5 --- .editorconfig | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..624ad9b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,28 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true + +[*.{cpp,hpp}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true + +[{*.{py,sh},.jenkins,wscript}] +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.md] +indent_style = space +trim_trailing_whitespace = false + +[*.rst] +indent_style = space +trim_trailing_whitespace = true + +[*.{yaml,yml}] +indent_style = space +indent_size = 2