Adds .editorconfig

Makes contributing consistently-formatted code a bit easier
This commit is contained in:
usmonster 2015-11-11 13:21:29 -05:00
parent 6d168f46be
commit 57dd9b5461

17
.editorconfig Normal file
View File

@ -0,0 +1,17 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
[{.travis.yml,package.json}]
# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
indent_size = 2