Skip to content

fix: check version of the configuration #5564

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
Mar 17, 2025

Conversation

ldez
Copy link
Member

@ldez ldez commented Mar 17, 2025

Allows golangci-lint v1 to detect configuration files from golangci-lint v2.

Currently, if a user uses a golangci-lint v2 configuration with golangci-lint v1, it doesn't fail but it doesn't really work either as the configurations are not the same.

@ldez ldez added area: config Related to .golangci.yml and/or cli options area: CLI Related to CLI labels Mar 17, 2025
@ldez ldez added this to the v1-unreleased milestone Mar 17, 2025
@ldez ldez force-pushed the fix/check-cfg-version branch from e0aa0fe to a3052b9 Compare March 17, 2025 15:49
@ldez ldez merged commit 8b37f14 into golangci:master Mar 17, 2025
18 checks passed
@ldez ldez deleted the fix/check-cfg-version branch March 17, 2025 16:54
@ldez ldez modified the milestones: v1-unreleased, v1.64 Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: CLI Related to CLI area: config Related to .golangci.yml and/or cli options
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants