From ce41d4fba28f989bd49f091babdc309d8e2b5a2c Mon Sep 17 00:00:00 2001 From: "M.V. Hutz" Date: Wed, 15 Apr 2026 22:58:14 -0400 Subject: [PATCH] feat: add `recvcheck` linter --- .golangci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 1ec3d80..795e81b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -114,6 +114,9 @@ linters: # Reports uses of functions with replacement inside the testing package. - usetesting + # Reports mixed receiver types in structs/interfaces. + - recvcheck + settings: revive: rules: @@ -198,7 +201,7 @@ linters: # warns when initialism, variable or package naming conventions are not followed. - name: var-naming - + misspell: # Correct spellings using locale preferences for US or UK. # Setting locale to US will correct the British spelling of 'colour' to 'color'.