Add .editorconfig.

See https://editorconfig.org/ for more information.
This commit is contained in:
Denis Kasak 2021-06-30 16:40:09 +02:00 committed by Hubert Chathi
parent 4901435a0e
commit 7dd4c77c19

14
.editorconfig Normal file
View file

@ -0,0 +1,14 @@
root = true
[*]
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
[*.{c,cpp,h,hh,py,ts,js,java,m}]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab