Skip to content

Enable nolintlint linter#652

Merged
cert-manager-prow[bot] merged 1 commit into
cert-manager:mainfrom
erikgb:nolintlint
Jun 22, 2026
Merged

Enable nolintlint linter#652
cert-manager-prow[bot] merged 1 commit into
cert-manager:mainfrom
erikgb:nolintlint

Conversation

@erikgb

@erikgb erikgb commented Jun 20, 2026

Copy link
Copy Markdown
Member

In this PR, I propose to enable the https://golangci-lint.run/docs/linters/configuration/#nolintlint linter. This linter will ensure consistent nolint comments and (most importantly) remove suppressions that are no longer needed. I tested the linter on cert-manager, and quite a few nolint declarations are not needed.

Signed-off-by: Erik Godding Boye <egboye@gmail.com>
@cert-manager-prow cert-manager-prow Bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 20, 2026
@erikgb

erikgb commented Jun 20, 2026

Copy link
Copy Markdown
Member Author

/cc @inteon

@cert-manager-prow cert-manager-prow Bot requested a review from inteon June 20, 2026 23:20

@inteon inteon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/approve
/lgtm

@cert-manager-prow cert-manager-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: inteon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 22, 2026
@cert-manager-prow cert-manager-prow Bot merged commit dc9047a into cert-manager:main Jun 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants