add editorconfig file

This commit is contained in:
2025-03-13 15:13:39 +01:00
parent a0939b02b4
commit 11eba2386c

18
.editorconfig Normal file
View File

@@ -0,0 +1,18 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{c,h,cpp,hpp,rs}]
indent_size = 4
[makefile]
indent_style = tab
indent_size = 1
[*.{yaml,json}]
indent_style = space
indent_size = 2