Skip to content

Commit 090f281

Browse files
authored
Add editorconfig <https://editorconfig.org/> to ease contribution. (#939)
Editorconfig is understood by a large set of editors. Signed-off-by: Henner Zeller <[email protected]>
1 parent 4c7aba4 commit 090f281

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Diff for: .editorconfig

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Editor config file, see http://editorconfig.org/
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.{h,cpp}]
12+
indent_size = 2
13+
14+
[*.py]
15+
indent_size = 4
16+
17+
[*.html]
18+
indent_size = 2
19+
20+
[Makefile]
21+
indent_style = tab

0 commit comments

Comments
 (0)