Skip to content

Commit 1b9ccb5

Browse files
committed
添加EditorConfig配置
1 parent 413a5de commit 1b9ccb5

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
max_line_length = 80
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
max_line_length = 0
15+
trim_trailing_whitespace = false
16+
17+
[COMMIT_EDITMSG]
18+
max_line_length = 0

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
## yarn start
22

33
### 启动项目
4+
5+
## eslint airbnb + prettierrc, vsCode 需要安装 editoreConfig 插件

0 commit comments

Comments
 (0)