Skip to content

Commit 8fcf7a0

Browse files
committed
init: Add editorconfig
1 parent 54e787f commit 8fcf7a0

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.editorconfig

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
9+
[vcbuild.bat]
10+
end_of_line = crlf
11+
12+
[{lib,src,test}/**.js]
13+
indent_style = space
14+
indent_size = 2
15+
16+
[src/**.{h,cc}]
17+
indent_style = space
18+
indent_size = 2
19+
20+
[test/*.py]
21+
indent_style = space
22+
indent_size = 2
23+
24+
[configure]
25+
indent_style = space
26+
indent_size = 2
27+
28+
[Makefile]
29+
indent_style = tab
30+
indent_size = 8
31+
32+
[{deps,tools}/**]
33+
indent_style = ignore
34+
indent_size = ignore
35+
end_of_line = ignore
36+
trim_trailing_whitespace = ignore
37+
charset = ignore
38+
39+
[{test/fixtures,deps,tools/eslint,tools/gyp,tools/icu,tools/msvs}/**]
40+
insert_final_newline = false

0 commit comments

Comments
 (0)