Skip to content

dev: add suggested migration for linter configuration #5902

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
Jun 28, 2025

Conversation

ldez
Copy link
Member

@ldez ldez commented Jun 28, 2025

The goal is to display a suggested migration configuration when running golangci-lint.

The code related to the command migrate is ambiguous due to the difference between the default values of v4 and v5.
Edit: I removed the part related to the migrate command because I'm not fully happy with the approach.

@ldez ldez requested a review from bombsimon June 28, 2025 17:36
@ccoVeille

This comment has been minimized.

@ldez ldez force-pushed the feat/linter-migration branch from 7b4cc6a to 40d6afb Compare June 28, 2025 19:59
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

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

🚀

@ldez ldez added the enhancement New feature or improvement label Jun 28, 2025
@ldez ldez merged commit d2b7957 into golangci:main Jun 28, 2025
18 checks passed
@ldez ldez deleted the feat/linter-migration branch June 28, 2025 20:30
@ldez ldez added this to the v2.2 milestone Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: migration enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants