Skip to content

Commit a1d438a

Browse files
committed
chore(editorconfig): 增加.editorconfig配置,使不同编辑器风格保持一致
1 parent 924874e commit a1d438a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.editorconfig

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
10+
[*.wxml]
11+
indent_size = 2
12+
13+
[*.wxss]
14+
indent_size = 2
15+
16+
[*.js]
17+
indent_size = 2
18+
19+
[*.json]
20+
indent_size = 2

0 commit comments

Comments
 (0)