Skip to content

Commit 04e1f79

Browse files
committedJun 28, 2021
Add .editorconfig
1 parent 9bbe5fc commit 04e1f79

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
 

‎.editorconfig

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
[*.{cpp,h}]
12+
charset = utf-8
13+
indent_style = tab
14+
indent_size = 2
15+
tab_width = 2
16+
trim_trailing_whitespace = true
17+
18+
# Matches multiple files with brace expansion notation
19+
[*.{js,html,py}]
20+
charset = utf-8
21+
indent_style = tab
22+
indent_size = 2
23+
tab_width = 2
24+
trim_trailing_whitespace = true
25+
26+
# Tab indentation (no size specified)
27+
[Makefile]
28+
indent_style = tab

0 commit comments

Comments
 (0)
Please sign in to comment.