Skip to content

docs: add a section about default exclusions #3117

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
Aug 20, 2022

Conversation

ldez
Copy link
Member

@ldez ldez commented Aug 20, 2022

  • add a section about default exclusions
  • add the list of exclusion codes to the reference
preview

Screenshot 2022-08-20 at 16-10-31 False Positives golangci-lint

@ldez ldez added enhancement New feature or improvement area: docs labels Aug 20, 2022
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.

LGTM

I know there's been quite some issues on this topic and different opinions (f.ex. #456 and #2239). There have been comments in such issues that this cannot be changed in a v1 due to breaking changes but that there are plans to change this in v2. Do you think it's worth mentioning any of that to avoid additional issues or will it just risk getting forgotten and get outdated?

@ldez
Copy link
Member Author

ldez commented Aug 20, 2022

Do you think it's worth mentioning any of that to avoid additional issues or will it just risk getting forgotten and get outdated?

For now, it's not really useful. I already started to think about the v2 and I think we will keep "suggested" exclusions but not by default.

@ldez ldez merged commit d286cb9 into golangci:master Aug 20, 2022
@ldez ldez deleted the feat/default-exclude branch August 20, 2022 17:05
SeigeC pushed a commit to SeigeC/golangci-lint that referenced this pull request Apr 4, 2023
@ldez ldez added this to the v1.49 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants