# http://editorconfig.org
# 告诉EditorConfig插件，这是根文件，不用继续往上查找
root = true
# 匹配全部文件
[*]
# 结尾换行符，可选"lf"、"cr"、"crlf"
end_of_line = lf
# 在文件结尾插入新行
insert_final_newline = true
# 删除一行中的前后空格
trim_trailing_whitespace = true
# 匹配文件后缀
[*.{js,py,php}]
# 设置字符集
charset = utf-8
# 匹配py结尾的文件
[*.py]
# 缩进风格，可选"space"、"tab"
indent_style = space
# tab的宽度
indent_size = 4
# 以下匹配，类同
[*.php]
indent_style = space
indent_size = 4
[Makefile]
indent_style = space
tab_width =4
[lib/**.js]
indent_style = space
indent_size = 4
[{package.json,.travis.yml}]
indent_style = space
indent_size = 4
