From 3aef62c5f63ff4e6bb6582ab6ddf079208fddc65 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Sun, 17 Dec 2023 14:12:52 +0100 Subject: [PATCH] build: add EditorConfig configuration file EditorConfig projects helps maintaining consistent coding styles across various editors and IDEs. --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..f70fa48b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = false + +[{*.c,*.h}] +indent_style = space +indent_size = 4 +tab_width = 4 + +[meson.build] +indent_size = 2 +indent_style = space