Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to use go/analysis #76

Open
alexandear opened this issue Jan 4, 2024 · 1 comment
Open

Refactor to use go/analysis #76

alexandear opened this issue Jan 4, 2024 · 1 comment

Comments

@alexandear
Copy link
Contributor

It'd be great if the code could be refactored to use go/analysis so that unparam can be better integrated with golangci-lint. See golangci-lint.run/contributing/new-linters and https://github.com/golangci/golangci-lint/blob/d23c35470b899af8de151db9f960a60c92bcf08a/pkg/golinters/unparam.go#L23

@mvdan
Copy link
Owner

mvdan commented Jan 28, 2024

Patches welcome as long as nothing is broken. This API was written before go/analysis, as you might have guessed.

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

No branches or pull requests

2 participants