Skip to content

Commit e9b4202

Browse files
committed
chore: add prettier config and format code
1 parent e17779d commit e9b4202

29 files changed

Lines changed: 6249 additions & 3630 deletions

.editorconfig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
# editorconfig.org
21
root = true
32

43
[*]
4+
charset = utf-8
55
indent_style = space
6-
indent_size = 2
6+
indent_size = 4
77
end_of_line = lf
8-
charset = utf-8
9-
trim_trailing_whitespace = true
108
insert_final_newline = true
9+
trim_trailing_whitespace = true
1110

12-
[*.json]
11+
[{*.json,*.yml}]
1312
indent_size = 2
13+
14+
[Makefile]
15+
indent_style = tab

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
CHANGELOG.md
2+
README.md
3+
README-cn.md
4+
.github
5+
bin

.prettierrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.prettierrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@shm-open/eslint-config-bundle/prettier');

0 commit comments

Comments
 (0)