Merge pull request #41 from dhensby/pulls/editorconfig

adding .editorconfig
This commit is contained in:
Will Rossiter 2015-01-05 14:38:24 +13:00
commit 1a5527b635

24
.editorconfig Normal file
View File

@ -0,0 +1,24 @@
# For more information about the properties used in
# this file, please see the EditorConfig documentation:
# http://editorconfig.org/
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.yml]
indent_size = 2
indent_style = space
[{.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
indent_style = space