Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix running golangci-lint in different packages
The built-in typecheck cannot run on single files and will cause a compilation error as soon as we attempt to lint a file that requires a file from the same package. As a best-effort workaround now linting the entire package a file has been changed in in the pre-commit hook. golangci/golangci-lint#1574 (comment) golangci/golangci-lint#2912
- Loading branch information