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

Enable var-naming linter rule #17921

Merged
merged 2 commits into from
May 4, 2024

Conversation

ivanvc
Copy link
Member

@ivanvc ivanvc commented May 1, 2024

These are the last two remaining tasks to enable the var-naming golangci lint rule.

  • Enable the var-naming linter rule in tools/.golangci.yaml
  • Address a warning from tools/testgrid-analysis

Fixes #17578.

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

@ivanvc
Copy link
Member Author

ivanvc commented May 1, 2024

/retest

tools/.golangci.yaml Outdated Show resolved Hide resolved
@ivanvc ivanvc force-pushed the enable-var-naming-linter-rule branch from 7a14c20 to f750b25 Compare May 2, 2024 18:08
tools/.golangci.yaml Outdated Show resolved Hide resolved
@ivanvc ivanvc mentioned this pull request May 2, 2024
20 tasks
ivanvc added 2 commits May 3, 2024 10:41
Signed-off-by: Ivan Valdes <ivan@vald.es>
Signed-off-by: Ivan Valdes <ivan@vald.es>
@ivanvc ivanvc force-pushed the enable-var-naming-linter-rule branch from f750b25 to f6fa1da Compare May 3, 2024 17:41
Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

Perfect!

Thanks.

Copy link
Member

@jmhbnz jmhbnz left a comment

Choose a reason for hiding this comment

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

LGTM - Thanks @ivanvc

@jmhbnz jmhbnz merged commit 25367fc into etcd-io:main May 4, 2024
45 checks passed
@ivanvc ivanvc deleted the enable-var-naming-linter-rule branch August 16, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Address var-name linter warnings
3 participants