Skip to content

Commit

Permalink
.golangci.yml: switch deprecated check-shadowing to shadow
Browse files Browse the repository at this point in the history
golangci-lint 1.59.1 reports:

  WARN [config_reader] The configuration option
  `linters.govet.check-shadowing` is deprecated. Please enable `shadow`
  instead, if you are not using `enable-all`.
  • Loading branch information
kyleam committed Aug 13, 2024
1 parent a041182 commit 2f3c7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ linters-settings:
errcheck:
check-type-assertions: true
govet:
check-shadowing: true
shadow: true
unparam:
check-exported: true
unused:
Expand Down

0 comments on commit 2f3c7c5

Please sign in to comment.