feat(projects): 项目初始化搭建,集成eslint规范,集成代码提交规范

This commit is contained in:
Soybean
2021-05-28 00:32:34 +08:00
commit 6754da4d83
24 changed files with 5527 additions and 0 deletions

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
# Editor configuration, see http://editorconfig.org
# 表示是最顶层的 EditorConfig 配置文件
root = true
[*] # 表示所有文件适用
charset = utf-8 # 设置文件字符集为 utf-8
indent_style = tab # 缩进风格tab | space
indent_size = 2 # 缩进大小
end_of_line = lf # 控制换行类型(lf | cr | crlf)
trim_trailing_whitespace = true # 去除行首的任意空白字符
insert_final_newline = true # 始终在文件末尾插入一个新行