Skip to content

fix: related information position #5746

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
Apr 17, 2025
Merged

Conversation

ldez
Copy link
Member

@ldez ldez commented Apr 17, 2025

Fixes #5744

FYI, in most cases, the related information will not be displayed because the reports will be on the same line (uniq-by-line is true by default.)

@ldez ldez added bug Something isn't working area: output Related to issue output labels Apr 17, 2025
@ldez ldez added this to the v2-unreleased milestone Apr 17, 2025
@ryancurrah
Copy link
Member

ryancurrah commented Apr 17, 2025

Looks good. I verified the fix by cloning the repository and branch ldez:fix/related-info-position, building golangci-lint, and confirming the issue no longer reproduces:

~/staticcheck-repro 
❯ ./golangci-lint run
main.go:16:31: SA4023: this comparison is always true (staticcheck)
	if iter := query.Run(input); iter != nil {
	                             ^
1 issues:
* staticcheck: 1

@ldez ldez merged commit 221803a into golangci:main Apr 17, 2025
18 checks passed
@ldez ldez deleted the fix/related-info-position branch April 17, 2025 21:02
@ldez ldez modified the milestones: v2-unreleased, v2.1 Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: output Related to issue output bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linter Reporting Issues on External Module Files
3 participants