Skip to content

Commit

Permalink
Merge pull request #281 from prometheus/superq/errcheck
Browse files Browse the repository at this point in the history
Cleanup golangci-lint errcheck
  • Loading branch information
SuperQ authored Dec 11, 2023
2 parents 468c348 + 9032398 commit 9967c61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ issues:

linters-settings:
errcheck:
exclude: scripts/errcheck_excludes.txt
exclude-functions:
# Used in HTTP handlers, any error is handled by the server itself.
- (net/http.ResponseWriter).Write
# Never check for logger errors.
- (github.com/go-kit/log.Logger).Log

5 changes: 0 additions & 5 deletions scripts/errcheck_excludes.txt

This file was deleted.

0 comments on commit 9967c61

Please sign in to comment.