From 7c558ab2417358e0ce9d76cea82f5c6a693a90a0 Mon Sep 17 00:00:00 2001 From: Srikanth Patchava Date: Tue, 2 Jun 2026 07:46:04 -0700 Subject: [PATCH] chore: add .editorconfig for consistent code formatting (#2366) Signed-off-by: Srikanth Patchava Co-authored-by: Srikanth Patchava --- .editorconfig | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..81cb478a3 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,28 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 +indent_style = space +indent_size = 4 + +[*.{yml,yaml}] +indent_size = 2 + +[*.{json,jsonc}] +indent_size = 2 + +[*.md] +indent_size = 2 +trim_trailing_whitespace = false + +[*.{sh,bash}] +indent_size = 4 + +[*.{ps1,psm1,psd1}] +indent_size = 4 + +[Makefile] +indent_style = tab