Skip to content

Conversation

@timofurrer
Copy link

This change set enables all possible output formats that exist for golangci-lint. This is necessary because if a user configures output formats in their .golangci.yml configuration (for example for CI) then this is always in addition to the ones enabled on the command line. Therefore, we manually disable all possible output formats.

Currently, there doesn't exist a golangci-lint option to exclusively enable an output format or disable all from the config.

This change set enables all possible output formats that exist for
golangci-lint. This is necessary because if a user configures output
formats in their `.golangci.yml` configuration (for example for CI) then
this is always in addition to the ones enabled on the command line.
Therefore, we manually disable all possible output formats.

Currently, there doesn't exist a `golangci-lint` option to exclusively
enable an output format or disable all from the config.
@timofurrer timofurrer marked this pull request as draft December 19, 2025 11:13
@timofurrer
Copy link
Author

I've put this back to a draft to explore other options, like golangci/golangci-lint#6273.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant