Skip to content

Commit 838b9cf

Browse files
ronkorvingronkorving
authored and
ronkorving
committed
tools: Added .editorconfig file for basic style enforcement
This helps editors (see http://editorconfig.org/#download) to apply the right indentation and encoding rules to files by default.
1 parent 81503e5 commit 838b9cf

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)