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

Automated backport of #2324: Use golangci-lint for header checks #2353: Remove space between // and nolint #2943

Conversation

skitt
Copy link
Member

@skitt skitt commented Jan 24, 2024

Backport of #2324 #2353 on release-0.14.

#2324: Use golangci-lint for header checks
#2353: Remove space between // and nolint

For details on the backport process, see the backport requests page.

skitt added 6 commits January 24, 2024 09:41
goheader's whitespace handling seems to be less fragile than
license_checker's. This also means one less job in CI.

Signed-off-by: Stephen Kitt <[email protected]>
This is enforced by newer releases of golangci-lint.

Signed-off-by: Stephen Kitt <[email protected]>
varcheck, deadcode, and structcheck are deprecated since 1.49.0.

Signed-off-by: Stephen Kitt <[email protected]>
This causes conflicts with gci in some cases.

Signed-off-by: Stephen Kitt <[email protected]>
Instead of relying on context.TODO(), function using a context should
consume one given as a parameter; this allows the reconciliation
context to be used consistently.

Signed-off-by: Stephen Kitt <[email protected]>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr2943/skitt/automated-backport-of-#2324-#2353-origin-release-0.14
🚀 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.

@tpantelis tpantelis enabled auto-merge (rebase) January 24, 2024 11:48
@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label Jan 24, 2024
@tpantelis tpantelis merged commit a5d8166 into submariner-io:release-0.14 Jan 24, 2024
41 of 47 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr2943/skitt/automated-backport-of-#2324-#2353-origin-release-0.14]

@skitt skitt deleted the automated-backport-of-#2324-#2353-origin-release-0.14 branch January 24, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated-backport ready-to-test When a PR is ready for full E2E testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants