Skip to content

Commit 9ce8d60

Browse files
committed
Update golangci/golangci-lint to v1.56.2
Signed-off-by: Davanum Srinivas <[email protected]>
1 parent b79c5f6 commit 9ce8d60

File tree

12 files changed

+836
-735
lines changed

12 files changed

+836
-735
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ linters:
1010
disable:
1111
- cyclop
1212
- exhaustivestruct
13+
- depguard
1314
- forbidigo
1415
- funlen
1516
- gci
@@ -24,6 +25,7 @@ linters:
2425
- nlreturn
2526
- noctx
2627
- paralleltest
28+
- perfsprint
2729
- stylecheck
2830
- varnamelen
2931
- wsl
@@ -34,7 +36,9 @@ linters:
3436
- golint
3537
- maintidx
3638
- nosnakecase
39+
- tagalign
3740
- testpackage # it's better to keep tests in the same package for now because kustomize does open box testing
41+
- testifylint
3842
- structcheck # abandoned by author
3943
- varcheck # abandoned by author
4044
- maligned # abandoned by author

api/internal/builtins/HelmChartInflationGenerator.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/depprobcheck/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ require (
4343
github.com/spf13/cobra v1.8.0 // indirect
4444
github.com/spf13/pflag v1.0.5 // indirect
4545
golang.org/x/net v0.28.0 // indirect
46-
golang.org/x/oauth2 v0.12.0 // indirect
46+
golang.org/x/oauth2 v0.15.0 // indirect
4747
golang.org/x/sys v0.23.0 // indirect
4848
golang.org/x/term v0.23.0 // indirect
4949
golang.org/x/text v0.17.0 // indirect
50-
golang.org/x/time v0.3.0 // indirect
50+
golang.org/x/time v0.5.0 // indirect
5151
google.golang.org/appengine v1.6.7 // indirect
5252
google.golang.org/protobuf v1.35.1 // indirect
5353
gopkg.in/inf.v0 v0.9.1 // indirect

cmd/depprobcheck/go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,7 @@ golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4Iltr
441441
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
442442
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
443443
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
444-
golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=
445-
golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4=
444+
golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ=
446445
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
447446
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
448447
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -495,8 +494,7 @@ golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxb
495494
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
496495
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
497496
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
498-
golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
499-
golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
497+
golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk=
500498
golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
501499
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
502500
golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

cmd/gorepomod/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ require (
2222
github.com/sagikazarmark/locafero v0.3.0 // indirect
2323
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
2424
github.com/sourcegraph/conc v0.3.0 // indirect
25-
github.com/spf13/afero v1.10.0 // indirect
25+
github.com/spf13/afero v1.11.0 // indirect
2626
github.com/spf13/cast v1.5.1 // indirect
2727
github.com/spf13/pflag v1.0.5 // indirect
2828
github.com/subosito/gotenv v1.6.0 // indirect
2929
go.uber.org/multierr v1.11.0 // indirect
30-
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
30+
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc // indirect
3131
golang.org/x/sys v0.23.0 // indirect
3232
golang.org/x/text v0.17.0 // indirect
3333
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect

0 commit comments

Comments
 (0)