.golangci.yml: move swagger.go from Makefile

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg 2020-01-13 20:13:00 +01:00
parent 4533dea70e
commit a102869746
2 changed files with 2 additions and 1 deletions

View file

@ -13,6 +13,7 @@ run:
- test
skip-files:
- iopodman.go
- swagger.go
linters:
enable-all: true
disable:

View file

@ -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 {} \+