-
Notifications
You must be signed in to change notification settings - Fork 218
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
fix(lint-ci): Removing golang-lint govet deprecated parameter #1359
Conversation
Your deep link to the docs appears broken. Can you quote the section in a comment to understand what these options do, and why this is the correct new configuration? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link fixed in description. |
@timraymond |
…oft#1359) # Description After [deps: bump github.com/golangci/golangci-lint from 1.64.2 to 1.64.5 in /hack/tools](microsoft@f4d8f16), all PR started failing the golangci-lint workflow. This PR removes a parameter that has been deprecated by golanci-lint. ## Related Issue No issue created. ## Checklist - [X] I have read the [contributing documentation](https://retina.sh/docs/Contributing/overview). - [X] I signed and signed-off the commits (`git commit -S -s ...`). See [this documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) on signing commits. - [X] I have correctly attributed the author(s) of the code. - [X] I have tested the changes locally. - [X] I have followed the project's style guidelines. - [ ] I have updated the documentation, if necessary. - [ ] I have added tests, if applicable. ## Screenshots (if applicable) or Testing Completed See workflow below.  ## Additional Notes Syntax updated as per golang-lint documentation https://golangci-lint.run/usage/linters/#govet   https://github.com/golangci/golangci-lint/blob/a8b68a590a88bbde93b27f8bf02031cb1db78b2b/pkg/config/loader.go#L402-L407  --- Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more information on how to contribute to this project.
Description
After deps: bump github.com/golangci/golangci-lint from 1.64.2 to 1.64.5 in /hack/tools, all PR started failing the golangci-lint workflow.
This PR removes a parameter that has been deprecated by golanci-lint.
Related Issue
No issue created.
Checklist
git commit -S -s ...
). See this documentation on signing commits.Screenshots (if applicable) or Testing Completed
See workflow below.

Additional Notes
Syntax updated as per golang-lint documentation

https://golangci-lint.run/usage/linters/#govet
https://github.com/golangci/golangci-lint/blob/a8b68a590a88bbde93b27f8bf02031cb1db78b2b/pkg/config/loader.go#L402-L407

Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.