Add .editorconfig

This commit is contained in:
Michael Schneider
2016-04-26 16:39:44 -07:00
parent f54dd0f5ef
commit 5b2aa9d739

19
.editorconfig Normal file
View File

@@ -0,0 +1,19 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[**.{h,cc,mm,m}]
indent_style = space
indent_size = 2
[*.{md,markdown}]
trim_trailing_whitespace = false
# Makefiles always use tabs for indentation
[Makefile]
indent_style = tab