Skip to content

Restore lint rule for excluding meaningless name#31330

Merged
gjenkins8 merged 1 commit intohelm:mainfrom
mattfarina:restore-package-rule
Sep 25, 2025
Merged

Restore lint rule for excluding meaningless name#31330
gjenkins8 merged 1 commit intohelm:mainfrom
mattfarina:restore-package-rule

Conversation

@mattfarina
Copy link
Collaborator

This rule is needed for packages like 'util'. Changes to those packages trigger this rule.

What this PR does / why we need it: Changes to the util packages trigger this rule. Until this is restored, no PR that changes those packages will pass linting.

Special notes for your reviewer:

If applicable:

  • this PR contains user facing changes (the docs needed label should be applied if so)
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

This rule is needed for packages like 'util'. Changes to those
packages trigger this rule.

Signed-off-by: Matt Farina <[email protected]>
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 25, 2025
Copy link
Contributor

@benoittgt benoittgt left a comment

Choose a reason for hiding this comment

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

I'm sorry !

@mattfarina
Copy link
Collaborator Author

@benoittgt nothing to be sorry about. Should have had a comment explaining this case so it's not in just some maintainer minds.

Copy link
Contributor

@TerryHowe TerryHowe left a comment

Choose a reason for hiding this comment

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

/lgtm

@gjenkins8
Copy link
Member

strange, I ran golangci-lint with this removed to validate the PR, and it did not complain...

@gjenkins8 gjenkins8 merged commit 7722640 into helm:main Sep 25, 2025
5 checks passed
@scottrigby scottrigby added the bug Categorizes issue or PR as related to a bug. label Oct 16, 2025
@scottrigby scottrigby added this to the 4.0.0 milestone Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Categorizes issue or PR as related to a bug. 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.

5 participants