enabling golint with with golangci-lint requires some extra handling, we need to enable it and fix the issues raised by it. To enable it, make lint should be:
.PHONY: lint
lint:
docker run \
--rm \
-v $(PWD):/go/src/$(PROJECT) \
-w /go/src/$(PROJECT) \
golangci/golangci-lint \
golangci-lint run
docker run \
--rm \
-v $(PWD):/go/src/$(PROJECT) \
-w /go/src/$(PROJECT) \
golangci/golangci-lint \
golangci-lint run --no-config --exclude-use-default=false --disable-all --enable=golint
enabling golint with with golangci-lint requires some extra handling, we need to enable it and fix the issues raised by it. To enable it,
make lint
should be: