Bump sigs.k8s.io/controller-runtime to v0.14.4 (#5507)
* Bump sigs.k8s.io/controller-runtime to v0.14.4 * Update gofmt
This commit is contained in:
15
vendor/sigs.k8s.io/controller-runtime/.golangci.yml
generated
vendored
15
vendor/sigs.k8s.io/controller-runtime/.golangci.yml
generated
vendored
@@ -3,7 +3,6 @@ linters:
|
||||
enable:
|
||||
- asciicheck
|
||||
- bodyclose
|
||||
- deadcode
|
||||
- depguard
|
||||
- dogsled
|
||||
- errcheck
|
||||
@@ -12,14 +11,12 @@ linters:
|
||||
- goconst
|
||||
- gocritic
|
||||
- gocyclo
|
||||
- godot
|
||||
- gofmt
|
||||
- goimports
|
||||
- goprintffuncname
|
||||
- gosec
|
||||
- gosimple
|
||||
- govet
|
||||
- ifshort
|
||||
- importas
|
||||
- ineffassign
|
||||
- misspell
|
||||
@@ -30,19 +27,14 @@ linters:
|
||||
- revive
|
||||
- rowserrcheck
|
||||
- staticcheck
|
||||
- structcheck
|
||||
- stylecheck
|
||||
- typecheck
|
||||
- unconvert
|
||||
- unparam
|
||||
- unused
|
||||
- varcheck
|
||||
- whitespace
|
||||
|
||||
linters-settings:
|
||||
ifshort:
|
||||
# Maximum length of variable declaration measured in number of characters, after which linter won't suggest using short syntax.
|
||||
max-decl-chars: 50
|
||||
importas:
|
||||
no-unaliased: true
|
||||
alias:
|
||||
@@ -61,9 +53,9 @@ linters-settings:
|
||||
- pkg: sigs.k8s.io/controller-runtime
|
||||
alias: ctrl
|
||||
staticcheck:
|
||||
go: "1.18"
|
||||
go: "1.19"
|
||||
stylecheck:
|
||||
go: "1.18"
|
||||
go: "1.19"
|
||||
depguard:
|
||||
include-go-root: true
|
||||
packages:
|
||||
@@ -132,6 +124,9 @@ issues:
|
||||
- linters:
|
||||
- gosec
|
||||
text: "G304: Potential file inclusion via variable"
|
||||
- linters:
|
||||
- revive
|
||||
text: "package-comments: should have a package comment"
|
||||
|
||||
run:
|
||||
timeout: 10m
|
||||
|
||||
Reference in New Issue
Block a user