Pulse/.husky
rcourtman 407024fdc7 Filter pre-commit golangci-lint to new issues only
The previous hook scoped lint to staged packages but still surfaced
all pre-existing violations in those packages on every commit, which
turned long-standing technical debt (errcheck on test mock helpers,
dupl warnings on poll providers) into a per-commit blocker.

Add --new-from-rev=HEAD so golangci-lint only reports issues
introduced by the staged diff. Pre-existing violations on untouched
lines are filtered out; new violations on changed lines still fail
the commit. Override with GOLANGCI_LINT_NEW_FROM_REV (set to "" to
lint the whole package, or to a base revision such as HEAD~5 to
broaden the comparison window).
2026-05-08 16:45:14 +01:00
..
pre-commit Filter pre-commit golangci-lint to new issues only 2026-05-08 16:45:14 +01:00
pre-push feat: Pulse v6 release 2026-03-18 16:06:30 +00:00