mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Enable default vet flags (#6810)
Enable default vet flags except experimental
This commit is contained in:
committed by
kannappanr
parent
f1f23f6f11
commit
f9779b24ad
4
Makefile
4
Makefile
@@ -23,8 +23,8 @@ verifiers: getdeps vet fmt lint cyclo deadcode spelling
|
||||
|
||||
vet:
|
||||
@echo "Running $@"
|
||||
@go tool vet -atomic -bool -copylocks -nilfunc -printf -shadow -rangeloops -unreachable -unsafeptr -unusedresult cmd
|
||||
@go tool vet -atomic -bool -copylocks -nilfunc -printf -shadow -rangeloops -unreachable -unsafeptr -unusedresult pkg
|
||||
@go tool vet cmd
|
||||
@go tool vet pkg
|
||||
|
||||
fmt:
|
||||
@echo "Running $@"
|
||||
|
||||
Reference in New Issue
Block a user