From faf7b103c8931fba7a6331ebe3137c24aa9b9cdb Mon Sep 17 00:00:00 2001 From: Srikanth Patchava Date: Fri, 24 Apr 2026 19:41:35 -0700 Subject: [PATCH] chore: add .editorconfig for consistent code formatting Signed-off-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 0000000000..0ca3588113 --- /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 = 2 + +[*.{ps1,psm1,psd1}] +indent_size = 4 + +[Makefile] +indent_style = tab