目录
EditorConfig 是一个跨IDE的确定一致的编码风格插件。
在代码仓库根目录下添加文件:
.editorconfigview raw1 2 3 4 5 6 7 8 9 10 11 12
| # EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file root = true
[*] indent_style = space indent_size = 2 end_of_line = crlf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true
|