From adc2bb2bafb3f424e260277c3fb953265cb09bd6 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 29 Sep 2025 17:44:17 +0300 Subject: [PATCH] meta: set up editorconfig Signed-off-by: NotAShelf Change-Id: I6a6a6964b4f245552027208a2650c8d60fa557a4 --- .editorconfig | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4bf2955 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,33 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true + +[*.c] +indent_style = space +indent_size = 2 +tab_width = 2 + +[*.h] +indent_style = space +indent_size = 2 +tab_width = 2 + +[Makefile] +indent_style = tab +tab_width = 4 +trim_trailing_whitespace = false + +[*.mk] +indent_style = tab +tab_width = 4 +trim_trailing_whitespace = false + +[*.sh] +indent_style = space +indent_size = 2 +tab_width = 2 +