add: .editorconfig

This commit is contained in:
Jan Christoph Uhde 2023-03-20 20:18:22 +01:00
parent 1392c47cbb
commit 2c12222066

20
.editorconfig Normal file
View File

@ -0,0 +1,20 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
[*.{c,cppi,cc,h,hpp}]
indent_size = 2
# Tab indentation (no size specified)
[Makefile,makefile,GNUmakefile]
indent_style = tab
#[*.{js,py}]