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

exhaustive: add missing config #3212

Merged
merged 1 commit into from Sep 11, 2022
Merged

exhaustive: add missing config #3212

merged 1 commit into from Sep 11, 2022

Conversation

maratori
Copy link
Contributor

@maratori maratori commented Sep 11, 2022

Several issues were introduced in #3207 to exhaustive linter.
This PR fixes them:

  • Add missing check config
  • Pass package-scope-only config to linter
  • Use explicit-exhaustive-switch config correctly

@ldez ldez changed the title fix: exhaustive config exhaustive: add missing config Sep 11, 2022
@ldez ldez added enhancement New feature or improvement linter: update Update the linter implementation inside golangci-lint labels Sep 11, 2022
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.

LGTM

@ldez ldez enabled auto-merge (squash) September 11, 2022 17:03
@ldez ldez merged commit 8a3b754 into golangci:master Sep 11, 2022
@maratori maratori deleted the exhaustive-config branch September 11, 2022 17:16
SeigeC pushed a commit to SeigeC/golangci-lint that referenced this pull request Apr 4, 2023
@ldez ldez added this to the v1.50 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement linter: update Update the linter implementation inside golangci-lint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants