Skip to content

Commit a95559b

Browse files
Update module github.com/golangci/golangci-lint/v2 to v2.2.1 (#13303)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/golangci/golangci-lint/v2](https://redirect.github.com/golangci/golangci-lint) | `v2.1.6` -> `v2.2.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint%2fv2/v2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgolangci%2fgolangci-lint%2fv2/v2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgolangci%2fgolangci-lint%2fv2/v2.1.6/v2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint%2fv2/v2.1.6/v2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>golangci/golangci-lint (github.com/golangci/golangci-lint/v2)</summary> ### [`v2.2.1`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v221) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.2.0...v2.2.1) 1. Linters bug fixes - `varnamelen`: fix configuration ### [`v2.2.0`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v220) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.1.6...v2.2.0) 1. New linters - Add `arangolint` linter https://github.com/Crocmagnon/arangolint - Add `embeddedstructfieldcheck` linter https://github.com/manuelarte/embeddedstructfieldcheck - Add `noinlineerr` linter https://github.com/AlwxSin/noinlineerr - Add `swaggo` formatter https://github.com/golangci/swaggoswag 2. Linters new features or changes - `errcheck`: add `verbose` option - `funcorder`: from 0.2.1 to 0.5.0 (new option `alphabetical`) - `gomoddirectives`: from 0.6.1 to 0.7.0 (new option `ignore-forbidden`) - `iface`: from 1.3.1 to 1.4.0 (new option `unexported`) - `noctx`: from 0.1.0 to 0.3.3 (new report messages, and new rules related to `database/sql`) - `noctx`: from 0.3.3 to 0.3.4 (new SQL functions detection) - `revive`: from 1.9.0 to 1.10.0 (new rules: `time-date`, `unnecessary-format`, `use-fmt-print`) - `usestdlibvars`: from 1.28.0 to 1.29.0 (new option `time-date-month`) - `wsl`: deprecation - `wsl_v5`: from 4.7.0 to 5.0.0 (major version with new configuration) 3. Linters bug fixes - `dupword`: from 0.1.3 to 0.1.6 - `exptostd`: from 0.4.3 to 0.4.4 - `forbidigo`: from 1.6.0 to 2.1.0 - `gci`: consistently format the code - `go-spancheck`: from 0.6.4 to 0.6.5 - `goconst`: from 1.8.1 to 1.8.2 - `gosec`: from 2.22.3 to 2.22.4 - `gosec`: from 2.22.4 to 2.22.5 - `makezero`: from 1.2.0 to 2.0.1 - `misspell`: from 0.6.0 to 0.7.0 - `usetesting`: from 0.4.3 to 0.5.0 4. Misc. - exclusions: fix `path-expect` - formatters: write the input to `stdout` when using `stdin` and there are no changes - migration: improve the error message when trying to migrate a migrated config - `typecheck`: deduplicate errors - `typecheck`: stops the analysis after the first error - Deprecate `print-resources-usage` flag - Unique version per custom build 5. Documentation - Improves typecheck FAQ - Adds plugin systems recommendations - Add description for `linters.default` sets </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]>
1 parent 18b3b57 commit a95559b

File tree

2 files changed

+89
-98
lines changed

2 files changed

+89
-98
lines changed

internal/tools/go.mod

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.24.0
77
require (
88
github.com/a8m/envsubst v1.4.3
99
github.com/client9/misspell v0.3.4
10-
github.com/golangci/golangci-lint/v2 v2.1.6
10+
github.com/golangci/golangci-lint/v2 v2.2.1
1111
github.com/google/addlicense v1.1.1
1212
github.com/jcchavezs/porto v0.7.0
1313
github.com/pavius/impi v0.0.3
@@ -28,9 +28,11 @@ require (
2828
require (
2929
4d63.com/gocheckcompilerdirectives v1.3.0 // indirect
3030
4d63.com/gochecknoglobals v0.2.2 // indirect
31+
codeberg.org/chavacava/garif v0.2.0 // indirect
3132
dario.cat/mergo v1.0.1 // indirect
3233
github.com/4meepo/tagalign v1.4.2 // indirect
33-
github.com/Abirdcfly/dupword v0.1.3 // indirect
34+
github.com/Abirdcfly/dupword v0.1.6 // indirect
35+
github.com/AlwxSin/noinlineerr v1.0.3 // indirect
3436
github.com/Antonboom/errname v1.1.0 // indirect
3537
github.com/Antonboom/nilnil v1.1.0 // indirect
3638
github.com/Antonboom/testifylint v1.6.1 // indirect
@@ -41,35 +43,35 @@ require (
4143
github.com/Microsoft/go-winio v0.6.2 // indirect
4244
github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect
4345
github.com/ProtonMail/go-crypto v1.2.0 // indirect
44-
github.com/alecthomas/chroma/v2 v2.17.2 // indirect
46+
github.com/alecthomas/chroma/v2 v2.18.0 // indirect
4547
github.com/alecthomas/go-check-sumtype v0.3.1 // indirect
4648
github.com/alexkohler/nakedret/v2 v2.0.6 // indirect
4749
github.com/alexkohler/prealloc v1.0.0 // indirect
4850
github.com/alingse/asasalint v0.0.11 // indirect
4951
github.com/alingse/nilnesserr v0.2.0 // indirect
50-
github.com/ashanbrown/forbidigo v1.6.0 // indirect
51-
github.com/ashanbrown/makezero v1.2.0 // indirect
52+
github.com/ashanbrown/forbidigo/v2 v2.1.0 // indirect
53+
github.com/ashanbrown/makezero/v2 v2.0.1 // indirect
5254
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
5355
github.com/beorn7/perks v1.0.1 // indirect
5456
github.com/bitfield/gotestdox v0.2.2 // indirect
5557
github.com/bkielbasa/cyclop v1.2.3 // indirect
5658
github.com/blizzy78/varnamelen v0.8.0 // indirect
5759
github.com/bmatcuk/doublestar/v4 v4.8.1 // indirect
5860
github.com/bombsimon/wsl/v4 v4.7.0 // indirect
61+
github.com/bombsimon/wsl/v5 v5.0.0 // indirect
5962
github.com/breml/bidichk v0.3.3 // indirect
6063
github.com/breml/errchkjson v0.4.1 // indirect
6164
github.com/butuzov/ireturn v0.4.0 // indirect
6265
github.com/butuzov/mirror v1.3.0 // indirect
6366
github.com/catenacyber/perfsprint v0.9.1 // indirect
64-
github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
67+
github.com/ccojocar/zxcvbn-go v1.0.4 // indirect
6568
github.com/cespare/xxhash/v2 v2.3.0 // indirect
6669
github.com/charithe/durationcheck v0.0.10 // indirect
6770
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
6871
github.com/charmbracelet/lipgloss v1.1.0 // indirect
6972
github.com/charmbracelet/x/ansi v0.8.0 // indirect
7073
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
7174
github.com/charmbracelet/x/term v0.2.1 // indirect
72-
github.com/chavacava/garif v0.1.0 // indirect
7375
github.com/ckaznocha/intrange v0.3.1 // indirect
7476
github.com/cloudflare/circl v1.6.1 // indirect
7577
github.com/curioswitch/go-reassign v0.3.0 // indirect
@@ -99,7 +101,7 @@ require (
99101
github.com/go-toolsmith/astp v1.1.0 // indirect
100102
github.com/go-toolsmith/strparse v1.1.0 // indirect
101103
github.com/go-toolsmith/typep v1.1.0 // indirect
102-
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
104+
github.com/go-viper/mapstructure/v2 v2.3.0 // indirect
103105
github.com/go-xmlfmt/xmlfmt v1.1.3 // indirect
104106
github.com/gobwas/glob v0.2.3 // indirect
105107
github.com/gofrs/flock v0.12.1 // indirect
@@ -108,9 +110,10 @@ require (
108110
github.com/golangci/go-printf-func-name v0.1.0 // indirect
109111
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
110112
github.com/golangci/golines v0.0.0-20250217134842-442fd0091d95 // indirect
111-
github.com/golangci/misspell v0.6.0 // indirect
112-
github.com/golangci/plugin-module-register v0.1.1 // indirect
113+
github.com/golangci/misspell v0.7.0 // indirect
114+
github.com/golangci/plugin-module-register v0.1.2 // indirect
113115
github.com/golangci/revgrep v0.8.0 // indirect
116+
github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e // indirect
114117
github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e // indirect
115118
github.com/google/go-cmp v0.7.0 // indirect
116119
github.com/google/go-github/v71 v71.0.0 // indirect
@@ -127,9 +130,9 @@ require (
127130
github.com/hexops/gotextdiff v1.0.3 // indirect
128131
github.com/inconshreveable/mousetrap v1.1.0 // indirect
129132
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
130-
github.com/jgautheron/goconst v1.8.1 // indirect
133+
github.com/jgautheron/goconst v1.8.2 // indirect
131134
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
132-
github.com/jjti/go-spancheck v0.6.4 // indirect
135+
github.com/jjti/go-spancheck v0.6.5 // indirect
133136
github.com/julz/importas v0.2.0 // indirect
134137
github.com/karamaru-alpha/copyloopvar v1.2.1 // indirect
135138
github.com/kevinburke/ssh_config v1.2.0 // indirect
@@ -139,31 +142,31 @@ require (
139142
github.com/kulti/thelper v0.6.3 // indirect
140143
github.com/kunwardeep/paralleltest v1.0.14 // indirect
141144
github.com/lasiar/canonicalheader v1.1.2 // indirect
142-
github.com/ldez/exptostd v0.4.3 // indirect
143-
github.com/ldez/gomoddirectives v0.6.1 // indirect
145+
github.com/ldez/exptostd v0.4.4 // indirect
146+
github.com/ldez/gomoddirectives v0.7.0 // indirect
144147
github.com/ldez/grignotin v0.9.0 // indirect
145148
github.com/ldez/tagliatelle v0.7.1 // indirect
146-
github.com/ldez/usetesting v0.4.3 // indirect
149+
github.com/ldez/usetesting v0.5.0 // indirect
147150
github.com/leonklingele/grouper v1.1.2 // indirect
148151
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
149152
github.com/macabu/inamedparam v0.2.0 // indirect
150-
github.com/manuelarte/funcorder v0.2.1 // indirect
153+
github.com/manuelarte/embeddedstructfieldcheck v0.3.0 // indirect
154+
github.com/manuelarte/funcorder v0.5.0 // indirect
151155
github.com/maratori/testableexamples v1.0.0 // indirect
152156
github.com/maratori/testpackage v1.1.1 // indirect
153157
github.com/matoous/godox v1.1.0 // indirect
154158
github.com/mattn/go-colorable v0.1.14 // indirect
155159
github.com/mattn/go-isatty v0.0.20 // indirect
156160
github.com/mattn/go-runewidth v0.0.16 // indirect
157161
github.com/mattn/go-shellwords v1.0.12 // indirect
158-
github.com/mgechev/revive v1.9.0 // indirect
162+
github.com/mgechev/revive v1.10.0 // indirect
159163
github.com/mitchellh/go-homedir v1.1.0 // indirect
160164
github.com/moricho/tparallel v0.3.2 // indirect
161165
github.com/muesli/termenv v0.16.0 // indirect
162166
github.com/nakabonne/nestif v0.3.1 // indirect
163167
github.com/nishanths/exhaustive v0.12.0 // indirect
164168
github.com/nishanths/predeclared v0.2.2 // indirect
165169
github.com/nunnatsa/ginkgolinter v0.19.1 // indirect
166-
github.com/olekukonko/tablewriter v0.0.5 // indirect
167170
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
168171
github.com/pjbgf/sha1cd v0.3.2 // indirect
169172
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
@@ -185,15 +188,15 @@ require (
185188
github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
186189
github.com/sagikazarmark/locafero v0.9.0 // indirect
187190
github.com/sanposhiho/wastedassign/v2 v2.1.0 // indirect
188-
github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect
191+
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
189192
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
190-
github.com/sashamelentyev/usestdlibvars v1.28.0 // indirect
191-
github.com/securego/gosec/v2 v2.22.3 // indirect
193+
github.com/sashamelentyev/usestdlibvars v1.29.0 // indirect
194+
github.com/securego/gosec/v2 v2.22.5 // indirect
192195
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
193196
github.com/sirupsen/logrus v1.9.3 // indirect
194197
github.com/sivchari/containedctx v1.0.3 // indirect
195198
github.com/skeema/knownhosts v1.3.1 // indirect
196-
github.com/sonatard/noctx v0.1.0 // indirect
199+
github.com/sonatard/noctx v0.3.4 // indirect
197200
github.com/sourcegraph/conc v0.3.0 // indirect
198201
github.com/sourcegraph/go-diff v0.7.0 // indirect
199202
github.com/spf13/afero v1.14.0 // indirect
@@ -215,7 +218,7 @@ require (
215218
github.com/ultraware/funlen v0.2.0 // indirect
216219
github.com/ultraware/whitespace v0.2.0 // indirect
217220
github.com/uudashr/gocognit v1.2.0 // indirect
218-
github.com/uudashr/iface v1.3.1 // indirect
221+
github.com/uudashr/iface v1.4.0 // indirect
219222
github.com/xanzy/ssh-agent v0.3.3 // indirect
220223
github.com/xen0n/gosmopolitan v1.3.0 // indirect
221224
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
@@ -225,6 +228,7 @@ require (
225228
gitlab.com/bosi/decorder v0.4.2 // indirect
226229
go-simpler.org/musttag v0.13.1 // indirect
227230
go-simpler.org/sloglint v0.11.0 // indirect
231+
go.augendre.info/arangolint v0.2.0 // indirect
228232
go.augendre.info/fatcontext v0.8.0 // indirect
229233
go.opentelemetry.io/build-tools v0.23.1 // indirect
230234
go.uber.org/automaxprocs v1.6.0 // indirect
@@ -241,7 +245,6 @@ require (
241245
golang.org/x/text v0.26.0 // indirect
242246
google.golang.org/protobuf v1.36.6 // indirect
243247
gopkg.in/warnings.v0 v0.1.2 // indirect
244-
gopkg.in/yaml.v2 v2.4.0 // indirect
245248
gopkg.in/yaml.v3 v3.0.1 // indirect
246249
honnef.co/go/tools v0.6.1 // indirect
247250
mvdan.cc/unparam v0.0.0-20250301125049-0df0534333a4 // indirect

0 commit comments

Comments
 (0)