Skip to content

Commit 7ec91e3

Browse files
committed
Add editorconfig to enforce styling consistency
1 parent f22dac6 commit 7ec91e3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
9+
[{*.go, Makefile}]
10+
indent_style = tab
11+
tab_width = 4
12+
13+
[{*.md, *.toml}]
14+
indent_style = space
15+
tab_width = 2

0 commit comments

Comments
 (0)