Skip to content

Commit 9c6112a

Browse files
committed
Added .editorconfig
1 parent 3aacf5c commit 9c6112a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file
5+
[*]
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
# Tab indentation (no size specified)
12+
[Makefile]
13+
indent_style = tab
14+
15+
[*.{c,h,cpp,cpp,hpp}]
16+
indent_size = 4
17+
18+
[*.{js,ts}]
19+
indent_size = 2

0 commit comments

Comments
 (0)