mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-09 16:00:59 +00:00
golangci-lint was invoked from the repo root for every staged Go package, so files in nested modules like tests/integration/mock-github-server failed typechecking with 'main module does not contain package' and could never be committed. Group staged package dirs by their nearest enclosing go.mod and lint nested modules from their own root. |
||
|---|---|---|
| .. | ||
| pre-commit | ||
| pre-push | ||