-
Notifications
You must be signed in to change notification settings - Fork 292
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(linter): replace loopvar linter #3923
Conversation
📝 WalkthroughWalkthroughThe pull request modifies the Changes
Assessment against linked issues
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🔇 Additional comments (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Thanks!
Testing
$ make lint
--> Running golangci-lint
I don't see the warning anymore so this LGTM.
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. --> Closes #3919 ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. --> Fix the lint errors of golangci-lint. Merge this [PR](#3923) to this branch.
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. --> Closes #3919 ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. --> Fix the lint errors of golangci-lint. Merge this [PR](#3923) to this branch. (cherry picked from commit 363a8c5)
The content of this PR includes the PR |
Closes #3919 ## Overview Fix the lint errors of golangci-lint. Merge this [PR](#3923) to this branch.<hr>This is an automatic backport of pull request #3924 done by [Mergify](https://mergify.com). --------- Co-authored-by: kobakaku <[email protected]> Co-authored-by: Rootul P <[email protected]>
Closes #3918
Overview
Replase loopvar linter in the .golangci.yml.
TODO
Fix the lint error.
This issue needs to address the lint errors.
Test