From e5c3dfa43f7d4711651fdfa14088a23b71b6c4bf Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Wed, 10 Apr 2024 23:32:27 +0200 Subject: [PATCH] Add initial EditorConfig support Handle *.c, *.h, and *.yaml files. Signed-off-by: Yegor Yefremov --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..a3b968e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[{*.c,*.h}] +indent_style = space +indent_size = 4 + +[*.yaml] +indent_style = space +indent_size = 2