Skip to content

Commit

Permalink
Switch to forcetypeassert since errcheck does not find everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Gehrsitz committed Sep 10, 2023
1 parent 1cb5390 commit d2cb046
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
run:
go: "1.21"
linters:
enable:
- forcetypeassert
issues:
exclude:
- .regActualCurrent. is unused
Expand All @@ -8,5 +11,3 @@ linters-settings:
staticcheck:
checks:
- "-SA1019"
errcheck:
check-type-assertions: true

0 comments on commit d2cb046

Please sign in to comment.