Skip to content

Commit 24aca31

Browse files
authored
chore: add editorconfig for TypeScript projects (#40)
1 parent dc87111 commit 24aca31

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.{ts,tsx,js,jsx}]
12+
indent_size = 2
13+
14+
[*.json]
15+
indent_size = 2
16+
17+
[*.yml]
18+
indent_size = 2
19+
20+
[*.md]
21+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)