Skip to content

Commit 940b9bc

Browse files
committed
Removes unnecessary exhaustivestruct linter
I don't see a good reason to keep this. Omitting struct fields to default to their empty value is how Go works. I don't see much reason to set slice fields to `nil`, ints to `0`, etc. The linter itself is archived and has a note in the read me that: > This linter is meant to be used only for special cases. It is not > recommended to use it for all files in a project. Our cases aren't special.
1 parent fa9f864 commit 940b9bc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.golangci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ linters:
1111
- gomnd
1212
- godox
1313
- nlreturn
14-
- exhaustivestruct
1514
- wrapcheck
1615
- thelper
1716
- testpackage

0 commit comments

Comments
 (0)