Skip to content

Commit ee29b57

Browse files
committed
style: unify editorconfig
1 parent dbf3bf9 commit ee29b57

File tree

2 files changed

+13
-29
lines changed

2 files changed

+13
-29
lines changed

.editorconfig

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# EditorConfig is awesome: https://EditorConfig.org
2-
3-
# top-most EditorConfig file
1+
# http://editorconfig.org
42
root = true
53

6-
[*] # 表示所有文件都要遵循
7-
indent_style = space # 缩进风格,可选配置有space和tab
8-
indent_size = 2 # 缩进大小
9-
end_of_line = lf # 换行符,可选配置有lf、cr和crlf
10-
charset = utf-8 # 编码格式,通常都是选utf-8
11-
trim_trailing_whitespace = true # 去除多余的空格
12-
insert_final_newline = true # 在尾部插入一行
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
1314

14-
[*.md] # 表示仅 md 文件适用
15-
insert_final_newline = false # 在尾部插入一行
16-
trim_trailing_whitespace = false # 去除多余的空格
15+
[Makefile]
16+
indent_style = tab

packages/admin/.editorconfig

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)