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: enable linter copyloopvar #4708

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

romshark
Copy link
Contributor

The loop variable problem is no more since Go 1.22 (see https://go.dev/blog/loopvar-preview).

  • Remove unnecessary variable copying.
  • Remove the loopvar semgrep linter.

The loop variable problem is no more since Go 1.22
(see https://go.dev/blog/loopvar-preview).
Remove unnecessary variable copying.
Remove the loopvar semgrep linter.
@romshark romshark requested review from jiceatscion and a team February 20, 2025 16:53
@romshark romshark self-assigned this Feb 20, 2025
@jiceatscion
Copy link
Contributor

This change is Reviewable

Copy link
Contributor

@jiceatscion jiceatscion left a comment

Choose a reason for hiding this comment

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

Reviewed 107 of 107 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @lukedirtwalker and @oncilla)

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

Reviewed 107 of 107 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @lukedirtwalker)

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

Successfully merging this pull request may close these issues.

3 participants