add: .editorconfig (#87)

This commit is contained in:
Jan Christoph Uhde 2023-03-21 04:10:39 +01:00 committed by GitHub
parent d9ed0d606f
commit af23f33880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}]