Skip to content

Instantly share code, notes, and snippets.

@chaoren1641
Created March 31, 2014 03:39
Show Gist options
  • Save chaoren1641/9884829 to your computer and use it in GitHub Desktop.
Save chaoren1641/9884829 to your computer and use it in GitHub Desktop.
editorConfig
# editorconfig文件定义一致的code style规范
# 根据不同的开发IDE或编辑器统一代码风格
# 详情见 editorconfig.org
root = true
## 文件新建除JS外使用GBK,JS文件使用utf-8
[*]
end_of_line = lf
charset = gbk
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
[**.coffee]
charset = utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment