1 | # EditorConfig helps developers define and maintain consistent
|
2 | # coding styles between different editors and IDEs
|
3 | # http://editorconfig.org
|
4 |
|
5 | root = true
|
6 |
|
7 | [**]
|
8 |
|
9 | # 编码格式
|
10 | charset = utf-8
|
11 |
|
12 | # 文件结尾符
|
13 | end_of_line = lf
|
14 | insert_final_newline = true
|
15 |
|
16 | # 去除行尾空白字符
|
17 | trim_trailing_whitespace = true
|
18 |
|
19 | # space 缩进
|
20 | indent_style = space
|
21 | indent_size = 2
|
22 |
|
23 | [*.md]
|
24 | trim_trailing_whitespace = false
|
25 |
|
26 | [{package.json,.babelrc,.eslintrc}]
|
27 | indent_style = space
|
28 | indent_size = 2
|
29 |
|
30 | [*.yml]
|
31 | indent_style = space
|
32 | indent_size = 2 |
\ | No newline at end of file |