Skip to content

Commit 8c70950

Browse files
committed
Add .editorconfig file
Issue #456 suggested to add an .editorconfig file to help enforce coding standards.
1 parent aae0884 commit 8c70950

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
root = true
3+
4+
[{*.{c,h,spec},Makefile,Makefile.*}]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_style = tab
8+
indent_size = 8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.py]
13+
charset = utf-8
14+
end_of_line = lf
15+
indent_style = space
16+
indent_size = 4
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.{ac,m4,yml}]
21+
charset = utf-8
22+
end_of_line = lf
23+
indent_style = space
24+
indent_size = 2
25+
trim_trailing_whitespace = true
26+
insert_final_newline = true

0 commit comments

Comments
 (0)