Skip to content

Commit 5f8f79b

Browse files
add .prettierrc and .editorconfig
1 parent f9925f1 commit 5f8f79b

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.{json,yml,yaml}]
12+
indent_size = 2
13+

.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"tabWidth": 4,
3+
"useTabs": false,
4+
"semi": true,
5+
"singleQuote": false,
6+
"trailingComma": "none",
7+
"printWidth": 120
8+
}
9+

0 commit comments

Comments
 (0)