Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d63ccee

Browse filesBrowse files
ronkorvingsilverwind
authored andcommitted
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 <me@silverwind.io> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
1 parent cb0b4a6 commit d63ccee
Copy full SHA for d63ccee

File tree

Expand file treeCollapse file tree

1 file changed

+39
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+39
-0
lines changed
Open diff view settings
Collapse file

‎.editorconfig‎

Copy file name to clipboard
+39Lines changed: 39 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.