add editor config

This commit is contained in:
ido 2015-10-20 18:33:35 +03:00
parent 8717f33107
commit 3d35790cd3
1 changed files with 20 additions and 0 deletions

20
.editorconfig Normal file
View File

@ -0,0 +1,20 @@
# http://EditorConfig.org
# top-most EditorConfig file
root = true
# [*.{js,json}]
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true # doesn't work yet
insert_final_newline = true # doesn't work yet
[{package.json,*.yml}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false