-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Update gochecknoglobals #1393
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
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
I think 2 would be pretty easy to implement to EDIT: |
I agree I think 2 would be the best forward looking approach. Thanks @bombsimon for pointing this out. |
Thanks to @bombsimon the gochecknoglobals tool is now built on the Go analysis package. I can make the same changes to the gochecknoinits tool too so it can also be upgraded easier. |
Is your feature request related to a problem? Please describe.
It looks like in response to #199 gochecknoglobals was ported into golangci-lint, but it's also out-of-date, as the latest gochecknoglobals makes some new exceptions.
Describe the solution you'd like
Would it be possible for golandci-lint to call out to gochecknoglobals to make updating easier here, or is there a pattern I can follow to make it possible to hook into so you can simply import and call?
Alternatively the implementation in golangci-lint needs updating to pickup the new changes to maintain consistency.
The text was updated successfully, but these errors were encountered: