It'd be great if the code could be refactored to use `go/analysis` so that `go-namecheck` can be integrated with `golangci-lint`. See https://golangci-lint.run/contributing/new-linters/