Skip to content

Commit 1123d06

Browse files
committed
chore: enable exhaustruct linter
1 parent 75f62dc commit 1123d06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.golangci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ issues:
195195
# We use assertions rather than explicitly checking errors in tests
196196
- errcheck
197197
- forcetypeassert
198+
- exhaustruct # This is unhelpful in tests.
198199

199200
fix: true
200201
max-issues-per-linter: 0
@@ -219,6 +220,7 @@ linters:
219220
- errcheck
220221
- errname
221222
- errorlint
223+
- exhaustruct
222224
- exportloopref
223225
- forcetypeassert
224226
- gocritic

0 commit comments

Comments
 (0)