Skip to content

docs: fix default value of linters.exclusions.generated #5735

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 2 commits into from
Apr 15, 2025

Conversation

chris-reeves
Copy link
Contributor

The default value for linters.exclusions.generated as documented in the reference config file (and
thus https://golangci-lint.run/usage/configuration/#linters-configuration) conflicts with the
documentation in https://golangci-lint.run/product/migration-guide/#command-migrate. After a bit of
digging I confirmed that the it's the reference config that's incorrect.

This PR fixes the reference config file to reflect that correct default value.

Copy link

boring-cyborg bot commented Apr 15, 2025

Hey, thank you for opening your first Pull Request !

@CLAassistant
Copy link

CLAassistant commented Apr 15, 2025

CLA assistant check
All committers have signed the CLA.

@ldez ldez self-requested a review April 15, 2025 10:32
@ldez ldez added the bug Something isn't working label Apr 15, 2025
@ldez ldez added this to the v2-unreleased milestone Apr 15, 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.

Good catch, tank you 👍

@ldez ldez merged commit 6de1453 into golangci:main Apr 15, 2025
19 checks passed
@ldez ldez modified the milestones: v2-unreleased, v2.1 Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants