Skip to content

Commit 7bf2579

Browse files
committed
chore: add .editorconfig for consistent code formatting
1 parent 6254386 commit 7bf2579

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.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+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
9+
[*.{js,ts,jsx,tsx}]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.{json,yml,yaml}]
14+
indent_style = space
15+
indent_size = 2
16+
17+
[*.md]
18+
trim_trailing_whitespace = false
19+
20+
[Makefile]
21+
indent_style = tab

0 commit comments

Comments
 (0)