Skip to content

fix: allow empty options for staticcheck #5983

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

Merged
merged 1 commit into from
Aug 8, 2025

Conversation

ldez
Copy link
Member

@ldez ldez commented Aug 7, 2025

With the staticcheck configuration, an option nil or empty should not produce the same behavior.

@ldez ldez added this to the v2-unreleased milestone Aug 7, 2025
@ldez ldez added bug Something isn't working linter: update Update the linter implementation inside golangci-lint labels Aug 7, 2025
@ldez ldez merged commit cabd53d into golangci:main Aug 8, 2025
18 checks passed
@ldez ldez deleted the fix/staticcheck-empty-nil branch August 8, 2025 10:27
@ldez ldez changed the title staticcheck: allow empty options fix: allow empty options for staticcheck Aug 8, 2025
@ldez ldez modified the milestones: v2-unreleased, v2.4 Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linter: update Update the linter implementation inside golangci-lint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants