Skip to content

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.

2 participants