Skip to content

Commit af78231

Browse files
committed
Help Github with code formatting
1 parent 554918c commit af78231

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
root = true
2+
3+
; Unix-style newlines with a newline ending every file
4+
[*]
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
charset = utf-8
9+
10+
; Golang
11+
[*.go]
12+
indent_style = tab
13+
indent_size = 4
14+
15+
; C
16+
[*.c]
17+
indent_style = space
18+
indent_size = 4
19+
20+
; YAML
21+
[*.yaml]
22+
indent_style = space
23+
indent_size = 2

0 commit comments

Comments
 (0)