Add .editorconfig

http://editorconfig.org/
This commit is contained in:
William Boman 2015-10-01 00:12:04 +02:00
parent 1a68e96c87
commit b9121d8321

24
.editorconfig Normal file
View File

@ -0,0 +1,24 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[*.{json,yml}]
indent_style = space
indent_size = 2
[.eslintrc]
indent_style = space
indent_size = 2