From 45fac6dee3a3775ae4208dfe56ca84d7816c4d5d Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 1 Apr 2022 11:16:04 +0200 Subject: [PATCH] chore: remove yamllint Signed-off-by: CrazyMax --- .yamllint.yml | 13 ------------- hack/dockerfiles/lint.Dockerfile | 4 +--- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 .yamllint.yml diff --git a/.yamllint.yml b/.yamllint.yml deleted file mode 100644 index e190c161..00000000 --- a/.yamllint.yml +++ /dev/null @@ -1,13 +0,0 @@ -ignore: | - /vendor - -extends: default - -yaml-files: - - '*.yaml' - - '*.yml' - -rules: - truthy: disable - line-length: disable - document-start: disable diff --git a/hack/dockerfiles/lint.Dockerfile b/hack/dockerfiles/lint.Dockerfile index 61ecb369..575af277 100644 --- a/hack/dockerfiles/lint.Dockerfile +++ b/hack/dockerfiles/lint.Dockerfile @@ -3,10 +3,8 @@ ARG GO_VERSION=1.18 FROM golang:${GO_VERSION}-alpine -RUN apk add --no-cache git gcc musl-dev yamllint +RUN apk add --no-cache git gcc musl-dev RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.45.2 WORKDIR /go/src/github.com/docker/buildx RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \ golangci-lint run -RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \ - yamllint -c .yamllint.yml --strict .