Skip to content

Commit 6826a3b

Browse files
Update .editorconfig to include defaults for go.work and go.work.sum as a reference for Go projects (#210)
Since this file is also used as the reference for Go projects, I thought I would add these missing files here. Signed-off-by: Steve Coffman <steve@khanacademy.org>
1 parent 9f1784a commit 6826a3b

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.editorconfig

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,18 @@ trim_trailing_whitespace = true
99
indent_style = space
1010
indent_size = 2
1111

12-
[{Makefile,go.mod,go.sum,*.go,.gitmodules}]
12+
[{Makefile,*.go,.gitmodules}]
1313
indent_style = tab
1414
indent_size = 4
1515

16+
[go.{mod,work,work.sum,sum}]
17+
charset = unset
18+
end_of_line = unset
19+
insert_final_newline = unset
20+
trim_trailing_whitespace = unset
21+
indent_style = unset
22+
indent_size = unset
23+
1624
[*.md]
1725
indent_size = 4
1826
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)