Skip to content

fix: formatter validation message #5624

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 25, 2025

Conversation

alexandear
Copy link
Member

@alexandear alexandear commented Mar 25, 2025

Before:

$ go run ./cmd/golangci-lint fmt -E formatter
Error: can't load config: formatter is a formatter
Failed executing command with error: can't load config: formatter is a formatter
exit status 3

After:

$ go run ./cmd/golangci-lint fmt -E formatter
Error: can't load config: formatter is not a formatter
Failed executing command with error: can't load config: formatter is not a formatter
exit status 3

@ldez ldez added bug Something isn't working area: formatters/fmt labels Mar 25, 2025
@ldez ldez self-requested a review March 25, 2025 14:00
@ldez ldez added this to the v2-unreleased milestone Mar 25, 2025
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

@ldez ldez merged commit 3fc5dfb into golangci:main Mar 25, 2025
31 of 33 checks passed
@alexandear alexandear deleted the fix/fmt-validate-msg branch March 25, 2025 14:26
@ldez ldez modified the milestones: v2-unreleased, v2.0 Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: formatters/fmt bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants