meta: set up Editorconfig for Makefiles and C sources

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib28df169ab71a71f68486255a41e10dc6a6a6964
This commit is contained in:
raf 2025-11-27 19:03:46 +03:00
commit c55096fca4
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

15
.editorconfig Normal file
View file

@ -0,0 +1,15 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.c]
ident_style = space
ident_size = 4
[Makefile*]
ident_style = tab
ident_size = 4