Skip to content

fix: move uniq-by-line field from output to issues #5253

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 2 commits into from
Dec 25, 2024

Conversation

ldez
Copy link
Member

@ldez ldez commented Dec 25, 2024

This PR deprecated the old output.uniq-by-line, and replaced it with issues.uniq-by-line.

This option has a meaning close to max-issues-per-linter and max-same-issues.

The flag --uniq-by-line is not impacted, it's only about the file configuration.

The old output.uniq-by-line still works but with a deprecation log message.

@ldez ldez added area: config Related to .golangci.yml and/or cli options topic: cleanup Related to code, process, or doc cleanup labels Dec 25, 2024
@ldez ldez added this to the next milestone Dec 25, 2024
@ldez ldez force-pushed the fix/move-uniq-by-line branch from 5f1446c to c41b849 Compare December 25, 2024 19:28
@ldez ldez merged commit 93ffea1 into golangci:master Dec 25, 2024
15 checks passed
@ldez ldez deleted the fix/move-uniq-by-line branch December 25, 2024 20:08
@ldez ldez modified the milestones: next, v1.63 Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: config Related to .golangci.yml and/or cli options topic: cleanup Related to code, process, or doc cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants