build: add editorconfig

Having editor-agnostic styling is useful.
This commit is contained in:
dundargoc 2024-02-11 12:22:18 +01:00 committed by dundargoc
parent 0b7fc43828
commit bd404bb223

15
.editorconfig Normal file
View file

@ -0,0 +1,15 @@
root = true
[*]
indent_style = space
indent_size = 2
tab_width = 8
end_of_line = lf
insert_final_newline = true
[*.rs]
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 8