Skip to content

Commit d63ccee

Browse files
ronkorvingsilverwind
authored andcommittedDec 16, 2015
tools: add .editorconfig
This helps editors (see http://editorconfig.org/#download) to apply the right indentation and encoding rules to files by default. PR-URL: #2993 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
1 parent cb0b4a6 commit d63ccee

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
 

‎.editorconfig

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

0 commit comments

Comments
 (0)
Please sign in to comment.