build: add EditorConfig configuration file

EditorConfig projects helps maintaining consistent coding styles
across various editors and IDEs.
This commit is contained in:
Yegor Yefremov
2023-12-18 12:01:07 +00:00
committed by Aleksander Morgado
parent dc3171fae4
commit 3aef62c5f6
+15
View File
@@ -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