From f98eaca11eb95c2b30c8025863304de9383c13fb Mon Sep 17 00:00:00 2001 From: farkhad Date: Sat, 18 Apr 2026 15:54:00 +0200 Subject: [PATCH] chore: add .editorconfig for consistent indent across editors Co-authored-by: wholovesalife <192630402+wholovesalife@users.noreply.github.com> --- .editorconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b01504b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[*.{rs,go,c,cpp,h,hpp,zig}] +indent_size = 4 + +[Makefile] +indent_style = tab + +[*.md] +trim_trailing_whitespace = false