Skip to content

Commit 7731e65

Browse files
authored
chore: add support for recvcheck (#3168)
1 parent 0704143 commit 7731e65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ linters:
7070
- promlinter # Check Prometheus metrics naming via promlint [fast: true, auto-fix: false]
7171
- protogetter # Reports direct reads from proto message fields when getters should be used [fast: false, auto-fix: true]
7272
- reassign # Checks that package variables are not reassigned [fast: false, auto-fix: false]
73+
- recvcheck # Checks for receiver type consistency.
7374
- revive # Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. [fast: false, auto-fix: false]
7475
- rowserrcheck # checks whether Err of rows is checked successfully [fast: false, auto-fix: false]
7576
- sloglint # ensure consistent code style when using log/slog [fast: false, auto-fix: false]

0 commit comments

Comments
 (0)