Skip to content

Commit d757d10

Browse files
committed
Add .editorconfig
1 parent d86bf6f commit d757d10

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+
# See http://editorconfig.org
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
charset = utf-8
7+
8+
# For non-go files, we indent with two spaces. In go files we indent
9+
# with tabs but still set indent_size to control the github web viewer.
10+
indent_size=4
11+
12+
# Override default spacing rules for .opt files.
13+
[*.opt]
14+
indent_style = space
15+
indent_size = 4
16+
17+
# Makefiles are broken without using actual tabs for indentation.
18+
[Makefile]
19+
indent_style = tab

0 commit comments

Comments
 (0)