Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 520444e

Browse files
authored
linters: update go-critic to latest (#64419)
I was tired of seeing this warning when running gazelle: gazelle: finding module path for import github.com/go-critic/go-critic/framework/linter: go: downloading github.com/go-critic/go-critic v0.11.4 go: module github.com/go-critic/go-critic@upgrade found (v0.11.4), but does not contain package github.com/go-critic/go-critic/framework/linter This updated go-critic to the latest version which makes the warning go away since it now uses the new package path. Test Plan: gazelle is happy and CI is happy
1 parent cec288d commit 520444e

File tree

5 files changed

+15
-105
lines changed

5 files changed

+15
-105
lines changed

Diff for: dev/linters/go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0
1010
github.com/OpenPeeDeeP/depguard/v2 v2.0.1
1111
github.com/ashanbrown/forbidigo v1.5.1
12-
github.com/go-critic/go-critic v0.6.7
12+
github.com/go-critic/go-critic v0.11.4
1313
github.com/gobwas/glob v0.2.3
1414
github.com/gordonklaus/ineffassign v0.0.0-20230107090616-13ace0543b28
1515
github.com/grafana/regexp v0.0.0-20221123153739-15dc172cd2db
@@ -34,7 +34,7 @@ require (
3434
github.com/gostaticanalysis/comment v1.4.2 // indirect
3535
github.com/hashicorp/go-version v1.6.0 // indirect
3636
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
37-
github.com/jackc/pgconn v1.14.0 // indirect
37+
github.com/jackc/pgconn v1.14.3 // indirect
3838
github.com/jackc/pgio v1.0.0 // indirect
3939
github.com/jackc/pgpassfile v1.0.0 // indirect
4040
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
@@ -44,7 +44,7 @@ require (
4444
github.com/pkg/errors v0.9.1 // indirect
4545
github.com/rogpeppe/go-internal v1.11.0 // indirect
4646
golang.org/x/crypto v0.24.0 // indirect
47-
golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9 // indirect
47+
golang.org/x/exp/typeparams v0.0.0-20240213143201-ec583247a57a // indirect
4848
golang.org/x/mod v0.17.0 // indirect
4949
golang.org/x/sync v0.7.0 // indirect
5050
golang.org/x/sys v0.21.0 // indirect

0 commit comments

Comments
 (0)