Skip to content

Commit

Permalink
Disable depguard
Browse files Browse the repository at this point in the history
Newer versions of depguard, as used in golangci-lint 1.53.0 and later,
deny imports by default. As a result, depguard should only be enabled
if it's going to be used, which isn't the case currently in Submariner
projects.

Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt authored and tpantelis committed Jun 15, 2023
1 parent f87a6ea commit 118a230
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 @@ -58,7 +58,7 @@ linters:
- bodyclose
- contextcheck
# - cyclop # This is equivalent to gocyclo
- depguard
# - depguard # depguard now denies by default, it should only be enabled if we actually use it
- dogsled
- dupl
- durationcheck
Expand Down

0 comments on commit 118a230

Please sign in to comment.