From 9be6cca6db0f132c49938fb4e666a7676143db10 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Fri, 11 Mar 2022 13:26:23 +0200 Subject: [PATCH] Don't skip internal packages for linting Signed-off-by: Evan Lezar --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 18b05684..bc1a4e5f 100644 --- a/Makefile +++ b/Makefile @@ -90,11 +90,7 @@ ineffassign: lint: # We use `go list -f '{{.Dir}}' $(MODULE)/...` to skip the `vendor` folder. - go list -f '{{.Dir}}' $(MODULE)/... | grep -v /internal/ | xargs golint -set_exit_status - -lint-internal: -# We use `go list -f '{{.Dir}}' $(MODULE)/...` to skip the `vendor` folder. - go list -f '{{.Dir}}' $(MODULE)/internal/... | xargs golint -set_exit_status + go list -f '{{.Dir}}' $(MODULE)/... | xargs golint -set_exit_status misspell: misspell $(MODULE)/...