Add .editorconfig file

This commit is contained in:
rdb 2020-05-04 11:40:15 +02:00
parent 3760ad298a
commit ee445e7f6b

22
.editorconfig Normal file
View File

@ -0,0 +1,22 @@
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.{py,pyw}]
indent_style = space
indent_size = 4
[*.{h,c,cxx,cpp,I}]
indent_style = space
indent_size = 2
[{CMakeLists.txt,*.cmake}]
indent_style = space
indent_size = 2
[*.bat]
end_of_line = crlf