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

[testing] Update golangci-lint to latest version #3617

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

marun
Copy link
Contributor

@marun marun commented Dec 21, 2024

Updates golangci-lint to latest version.

TODO

  • Resolve lint failures

How this was tested

CI

Need to be documented in RELEASES.md?

N/A

@marun marun added the testing This primarily focuses on testing label Dec 21, 2024
@marun marun self-assigned this Dec 21, 2024
@@ -46,11 +46,11 @@ linters:
enable:
- asciicheck
- bodyclose
- copyloopvar
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exportloopref was reported as deprecated, and this was the suggested replacement.

@@ -9,7 +9,8 @@ import (
"fmt"
"io"

"golang.org/x/crypto/ripemd160"
// TODO(marun) Can this be replaced?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the story behind the usage of this algorithm? Can it be replaced? If not, any suggestions for what justification to document in a comment above the import?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing This primarily focuses on testing
Projects
Status: In Progress 🏗
Development

Successfully merging this pull request may close these issues.

1 participant