chore: update linter
This commit is contained in:
parent
297921182c
commit
ed427616d4
2 changed files with 10 additions and 1 deletions
|
@ -52,6 +52,15 @@
|
||||||
metav1 = "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 = "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
kubeerror = "k8s.io/apimachinery/pkg/api/errors"
|
kubeerror = "k8s.io/apimachinery/pkg/api/errors"
|
||||||
|
|
||||||
|
[linters-settings.gomoddirectives]
|
||||||
|
replace-allow-list = [
|
||||||
|
"github.com/abbot/go-http-auth",
|
||||||
|
"github.com/go-check/check",
|
||||||
|
"github.com/gorilla/mux",
|
||||||
|
"github.com/mailgun/minheap",
|
||||||
|
"github.com/mailgun/multibuf",
|
||||||
|
]
|
||||||
|
|
||||||
[linters]
|
[linters]
|
||||||
enable-all = true
|
enable-all = true
|
||||||
disable = [
|
disable = [
|
||||||
|
|
|
@ -19,7 +19,7 @@ RUN mkdir -p /usr/local/bin \
|
||||||
&& chmod +x /usr/local/bin/go-bindata
|
&& chmod +x /usr/local/bin/go-bindata
|
||||||
|
|
||||||
# Download golangci-lint binary to bin folder in $GOPATH
|
# Download golangci-lint binary to bin folder in $GOPATH
|
||||||
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.38.0
|
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.39.0
|
||||||
|
|
||||||
# Download misspell binary to bin folder in $GOPATH
|
# Download misspell binary to bin folder in $GOPATH
|
||||||
RUN curl -sfL https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh | bash -s -- -b $GOPATH/bin v0.3.4
|
RUN curl -sfL https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh | bash -s -- -b $GOPATH/bin v0.3.4
|
||||||
|
|
Loading…
Reference in a new issue