Create .editorconfig

This commit is contained in:
bigeagle 2015-12-11 16:08:49 +08:00 committed by bigeagle
parent 88af6444e6
commit 66893e6f66

20
.editorconfig Normal file
View File

@ -0,0 +1,20 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
[*.{html,md,js}]
charset = utf-8
indent_style = tab
indent_size = 2
# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2