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

Adjust golangci-lint linters #3217

Merged
merged 7 commits into from
Nov 18, 2024
Merged

Conversation

tpantelis
Copy link
Contributor

Added new linters (some commented out if not needed) and removed deprecated linters. Also addressed violations reported by new linters (in separate commits).

Related to submariner-io/enhancements#231

@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr3217/tpantelis/update_linters
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

Added new linters (some commented out if not needed) and removed
deprecated linters. Also addressed violations reported by new linters
(in separate commits).

Related to submariner-io/enhancements#231

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fix "avoid direct access to proto field".

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
"fmt.Errorf can be replaced with errors.New"
"fmt.Sprintf can be replaced with string concatenation"
"fmt.Sprintf can be replaced with faster strconv.Itoa"

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
@skitt skitt enabled auto-merge (rebase) November 15, 2024 18:49
@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label Nov 18, 2024
@skitt skitt merged commit 98d0d7e into submariner-io:devel Nov 18, 2024
39 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr3217/tpantelis/update_linters]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-test When a PR is ready for full E2E testing
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants