8000 Add editorconfig · dnshi/Leetcode@a52c1ca · GitHub
[go: up one dir, main page]

Skip to content
6608

Commit a52c1ca

Browse files
committed
Add editorconfig
1 parent 02d5592 commit a52c1ca

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+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
# Set default charset
12+
# 4 space indentation
13+
[*.js]
14+
charset = utf-8
15+
indent_style = space
16+
17+
# 2 space indentation
18+
[scripts/*.js]
19+
indent_size = 2
20+
21+
# 4 space indentation
22+
[algorithms/*.js]
23+
indent_size = 4

0 commit comments

Comments
 (0)
0