Skip to content
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

fix: formatters shound't be enabled/disabled as linters #5516

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

ldez
Copy link
Member

@ldez ldez commented Mar 10, 2025

When I created the fmt command, it was for the v1, so I created a compatibility layer.

The formatters should be enabled only inside the formatters section and not inside the linters section.

The enabled formatters will still be run as linters when using the run command.

@ldez ldez added bug Something isn't working area: formatters/fmt labels Mar 10, 2025
@ldez ldez added this to the v2-unreleased milestone Mar 10, 2025
@ldez ldez changed the title fix: formatters can't be enabled/disabled as linters fix: formatters shound't be enabled/disabled as linters Mar 10, 2025
@ldez ldez requested review from bombsimon and alexandear March 10, 2025 13:42
@ldez ldez force-pushed the fix/enable-formatters branch from 63aa2af to 5023d7d Compare March 11, 2025 02:28
@ldez ldez force-pushed the fix/enable-formatters branch from 5023d7d to 80add7a Compare March 11, 2025 03:10
@ldez ldez requested a review from alexandear March 11, 2025 12:27
@ldez ldez merged commit 1400552 into golangci:main Mar 11, 2025
18 checks passed
@ldez ldez deleted the fix/enable-formatters branch March 11, 2025 15:58
@busser busser mentioned this pull request Mar 14, 2025
Closed
@ldez ldez modified the milestones: v2-unreleased, v2 Mar 24, 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