Skip to content

Commit 5b3443e

Browse files
committed
code: add editorconfig
1 parent cd5bb2e commit 5b3443e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
root = true
2+
3+
# Unix-style newlines with a newline ending every file
4+
[*]
5+
end_of_line = lf
6+
insert_final_newline = true
7+
8+
[*.{yaml,yml}]
9+
charset = utf-8
10+
indent_style = space
11+
indent_size = 2
12+
trim_trailing_whitespace = true
13+
14+
[*.{js,json,ts}]
15+
charset = utf-8
16+
indent_style = space
17+
indent_size = 2
18+
trim_trailing_whitespace = true
19+
20+
[*.{js,ts}]
21+
block_comment_start = /**
22+
block_comment = *
23+
block_comment_end = */

0 commit comments

Comments
 (0)