diff --git a/Makefile b/Makefile index 6c8407b3e..5d17f4c18 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,7 @@ endif # base package. It contains the common and backends code PKG := "k8s.io/ingress" -# TODO: fix lint errors in gce controller -GO_LIST_FILES=$(shell go list ${PKG}/... | grep -v vendor | grep -v -e "test/e2e" -e "controllers/gce/loadbalancers" -e "controllers/gce/controller") +GO_LIST_FILES=$(shell go list ${PKG}/... | grep -v vendor | grep -v -e "test/e2e") .PHONY: fmt fmt: @@ -32,7 +31,7 @@ fmt: .PHONY: lint lint: - @go list -f '{{if len .TestGoFiles}}"golint {{.Dir}}/..."{{end}}' ${GO_LIST_FILES} | xargs -L 1 sh -c + @go list -f '{{if len .TestGoFiles}}"golint -min_confidence=0.85 {{.Dir}}/..."{{end}}' ${GO_LIST_FILES} | xargs -L 1 sh -c .PHONY: test test: diff --git a/README.adoc b/README.adoc index 89b924744..a2773f087 100644 --- a/README.adoc +++ b/README.adoc @@ -1,9 +1,8 @@ // vim: ft=asciidoc image:https://travis-ci.org/kubernetes/ingress.svg?branch=master["Build Status", link="https://travis-ci.org/kubernetes/ingress"] - image:https://coveralls.io/repos/github/kubernetes/ingress/badge.svg?branch=master["Coverage Status", link="https://coveralls.io/github/kubernetes/ingress"] - +image:https://goreportcard.com/badge/github.com/kubernetes/ingress)["Go report card", link="https://goreportcard.com/report/github.com/kubernetes/ingress"] = Ingress :toc: macro