Skip to content

Commit 7a135d5

Browse files
committed
Add EditorConfig file.
1 parent 09530b0 commit 7a135d5

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+
# This is the top-most EditorConfig file.
2+
root = true
3+
4+
# For all files.
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
# Source code files
13+
[*.{h,cpp,py,sh}]
14+
indent_size = 4
15+
16+
# .cirrus.yml, .appveyor.yml, .fuzzbuzz.yml, etc.
17+
[*.yml]
18+
indent_size = 2
19+
20+
# Makefiles
21+
[{*.am,Makefile.*.include}]
22+
indent_style = tab
23+
24+
# Autoconf scripts
25+
[configure.ac]
26+
indent_size = 2

0 commit comments

Comments
 (0)