update prometheus dependencies (#5520)
Signed-off-by: junot <junotxiang@kubesphere.io>
This commit is contained in:
26
vendor/github.com/go-openapi/validate/.golangci.yml
generated
vendored
26
vendor/github.com/go-openapi/validate/.golangci.yml
generated
vendored
@@ -1,8 +1,6 @@
|
||||
linters-settings:
|
||||
govet:
|
||||
check-shadowing: true
|
||||
golint:
|
||||
min-confidence: 0
|
||||
gocyclo:
|
||||
min-complexity: 50
|
||||
maligned:
|
||||
@@ -26,3 +24,27 @@ linters:
|
||||
- gochecknoglobals
|
||||
- gochecknoinits
|
||||
- scopelint
|
||||
- wrapcheck
|
||||
- exhaustivestruct
|
||||
- exhaustive
|
||||
- nlreturn
|
||||
- testpackage
|
||||
- gci
|
||||
- gofumpt
|
||||
- goerr113
|
||||
- gomnd
|
||||
- tparallel
|
||||
- nestif
|
||||
- godot
|
||||
- tparallel
|
||||
- paralleltest
|
||||
- cyclop # because we have gocyclo already
|
||||
# TODO: review the linters below. We disabled them to make the CI pass first.
|
||||
- ireturn
|
||||
- varnamelen
|
||||
- forcetypeassert
|
||||
- thelper
|
||||
# Disable deprecated linters.
|
||||
# They will be removed from golangci-lint in future.
|
||||
- interfacer
|
||||
- golint
|
||||
Reference in New Issue
Block a user