Skip to content

Commit b1c3fdc

Browse files
committed
增加跨IDE代码格式配置
1 parent f4ba299 commit b1c3fdc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# editorconfig.org
2+
# doc: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)