mirror of
https://github.com/containers/podman.git
synced 2025-10-26 02:35:43 +08:00
.golangci.yml: move swagger.go from Makefile
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -13,6 +13,7 @@ run:
|
|||||||
- test
|
- test
|
||||||
skip-files:
|
skip-files:
|
||||||
- iopodman.go
|
- iopodman.go
|
||||||
|
- swagger.go
|
||||||
linters:
|
linters:
|
||||||
enable-all: true
|
enable-all: true
|
||||||
disable:
|
disable:
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -151,7 +151,7 @@ endif
|
|||||||
lint: golangci-lint
|
lint: golangci-lint
|
||||||
|
|
||||||
golangci-lint: .gopathok varlink_generate .install.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
|
gofmt: ## Verify the source code gofmt
|
||||||
find . -name '*.go' ! -path './vendor/*' -exec gofmt -s -w {} \+
|
find . -name '*.go' ! -path './vendor/*' -exec gofmt -s -w {} \+
|
||||||
|
|||||||
Reference in New Issue
Block a user