Merge pull request #724 from usmonster/adds-editorconfig

Adds .editorconfig
This commit is contained in:
Niklas von Hertzen 2015-11-11 20:40:21 +02:00
commit 144c9a903e

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