Skip to content

Commit

Permalink
Merge pull request #4514 from Affan-7/lint-unreachable-code
Browse files Browse the repository at this point in the history
Add linting for unreachable code
  • Loading branch information
karmada-bot committed Jan 10, 2024
2 parents bef4e7a + d85a32f commit d10b6d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ linters-settings:
- name: var-declaration
- name: blank-imports
- name: indent-error-flow
- name: unreachable-code
staticcheck:
checks:
- all
Expand Down

0 comments on commit d10b6d8

Please sign in to comment.