Skip to content

Commit 45265e9

Browse files
committed
add config
1 parent 061e9a1 commit 45265e9

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.editorconfig

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 2
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[{package.json,.babelrc}]
15+
indent_style = space
16+
indent_size = 2
17+
18+
[*.{js,scss,vue,yml}]
19+
indent_style = space
20+
indent_size = 2
21+
22+
[*.{php,json,conf}]
23+
indent_style = space
24+
indent_size = 4

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ node_modules/
33
npm-debug.log
44
yarn-error.log
55
.npmignore
6-
.editorconfig
76

87
# Editor directories and files
98
.idea

0 commit comments

Comments
 (0)