Add EditorConfig

This commit is contained in:
Peter Kokot
2017-06-04 23:52:03 +02:00
parent 7b28ed644a
commit 291aec165c
+24
View File
@@ -0,0 +1,24 @@
# http://editorconfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
[*.{cpp,h}]
charset = utf-8
indent_style = space
indent_size = 4
tab_width = 4
trim_trailing_whitespace = true
[*.sh]
indent_style = space
indent_size = 4
[*.php]
indent_style = space
indent_size = 4