Skip to content

Commit

Permalink
Add linter for github.com/golang/mock/gomock usage (#1843)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Laine authored Aug 11, 2023
1 parent dfa3009 commit 0b68899
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 @@ -57,6 +57,7 @@ linters-settings:
packages-with-error-message:
- io/ioutil: 'io/ioutil is deprecated. Use package io or os instead.'
- github.com/stretchr/testify/assert: 'github.com/stretchr/testify/require should be used instead.'
- github.com/golang/mock/gomock: 'go.uber.org/mock/gomock should be used instead.'
include-go-root: true
errorlint:
# Check for plain type assertions and type switches.
Expand Down

0 comments on commit 0b68899

Please sign in to comment.