Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Conversation

alaypatel07
Copy link

checker.CheckProgram(.. was removed from kisielk/errcheck. But golangci-lint still uses checker.CheckProgram instead of checker.CheckPackages.

checker.CheckPackages has support to ignore test because it loads the files using checker.load(), which skips the test files if needed

Add this hack until golangci/errcheck is rebased onto kisielk/errcheck. It will help solve golangci/golangci-lint#493

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant