Add a .editorconfig file to setup tabstyle preferences

With editors that support it it will setup preferences so that it
will use 2 spaces as the indent, except in .gitignore and .gitmodules
which in our files use tabs.

For more info see http://EditorConfig.org
This commit is contained in:
Samantha McVey 2017-07-06 14:16:17 -07:00 committed by Kaleb Elwert
parent 17bc7530ba
commit 1221e4030d

11
.editorconfig Normal file
View file

@ -0,0 +1,11 @@
# EditorConfig is awesome: http://EditorConfig.org
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
[{.gitignore,.gitmodules}]
indent_style = tab