Skip to content

Conversation

ldez
Copy link
Member

@ldez ldez commented Feb 19, 2025

Some other changes will be added when I will add the new linters configuration (#5299).

Follows #5357

Fixes #5296

@ldez ldez added enhancement New feature or improvement area: formatters/fmt labels Feb 19, 2025
@ldez ldez added this to the v2-unreleased milestone Feb 19, 2025
@ldez ldez requested review from alexandear and bombsimon February 19, 2025 14:51
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.

If a formatter is enabled inside formatters and linters, the configuration of formatters.settings will override linters-settings even if the configuration is omitted or empty inside formatters.settings section.

Should this be tested? Or even a case with config only present under linters?

@ldez
Copy link
Member Author

ldez commented Feb 19, 2025

This sentence was from the previous PR, now using linter settings is not allowed to define formatter settings.

Should this be tested?

It is tested by integration tests, but I will improve tests when I will add new linter configuration.

@ldez ldez merged commit 7611c76 into golangci:main Feb 19, 2025
18 checks passed
@ldez ldez deleted the feat/formatters-config branch February 19, 2025 18:43
@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 enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🌟 Let's talk about "formatters"
3 participants