mirror of https://github.com/docker/cli.git
Use a fork of gometalinter
Until https://github.com/alecthomas/gometalinter/pull/289 is merged. This reduces the runtime of the linter by 50x Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
3724fb7f37
commit
4881ef507f
|
@ -2,7 +2,7 @@ FROM golang:1.8.3-alpine
|
||||||
|
|
||||||
RUN apk add -U git
|
RUN apk add -U git
|
||||||
|
|
||||||
RUN go get -u gopkg.in/alecthomas/gometalinter.v1 && \
|
RUN go get -u gopkg.in/dnephin/gometalinter.v1 && \
|
||||||
mv /go/bin/gometalinter.v1 /usr/local/bin/gometalinter && \
|
mv /go/bin/gometalinter.v1 /usr/local/bin/gometalinter && \
|
||||||
gometalinter --install
|
gometalinter --install
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"Vendor": true,
|
"Vendor": true,
|
||||||
"Deadline": "8m",
|
"Deadline": "2m",
|
||||||
"Sort": ["linter", "severity", "path"],
|
"Sort": ["linter", "severity", "path"],
|
||||||
"Exclude": ["cli/compose/schema/bindata.go"],
|
"Exclude": ["cli/compose/schema/bindata.go"],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue