From a1028697465029f3e7b100de843eb7e5e2948246 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Mon, 13 Jan 2020 20:13:00 +0100 Subject: .golangci.yml: move swagger.go from Makefile Signed-off-by: Valentin Rothberg --- .golangci.yml | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 4b8850d02..dda1cc7ec 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,6 +13,7 @@ run: - test skip-files: - iopodman.go + - swagger.go linters: enable-all: true disable: diff --git a/Makefile b/Makefile index 5d3405387..bfcbce1e1 100644 --- a/Makefile +++ b/Makefile @@ -151,7 +151,7 @@ endif lint: golangci-lint golangci-lint: .gopathok varlink_generate .install.golangci-lint - $(GOBIN)/golangci-lint run --tests=false --skip-files swagger.go + $(GOBIN)/golangci-lint run --tests=false gofmt: ## Verify the source code gofmt find . -name '*.go' ! -path './vendor/*' -exec gofmt -s -w {} \+ -- cgit v1.2.3-54-g00ecf