Add EditorConfig file

This commit is contained in:
Finlay Davidson 2022-05-27 14:59:55 +02:00
parent dd313eb419
commit 089ff3c455

24
.editorconfig Normal file
View File

@ -0,0 +1,24 @@
root = true
[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.{cpp,h,py,sh,yml}]
indent_style = space
indent_size = 2
max_line_length = 140
[*.py]
indent_size = 4
[src/libs/**]
indent_style = unset
indent_size = unset
tab_width = unset
end_of_line = unset
charset = unset
trim_trailing_whitespace = unset
insert_final_newline = unset
max_line_length = unset