1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00

chore(deps): update module github.com/mgechev/revive to v1.12.0 (#7269)

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
|
[github.com/mgechev/revive](https://redirect.github.com/mgechev/revive)
| `v1.11.0` -> `v1.12.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmgechev%2frevive/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmgechev%2frevive/v1.11.0/v1.12.0?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>mgechev/revive (github.com/mgechev/revive)</summary>

###
[`v1.12.0`](https://redirect.github.com/mgechev/revive/releases/tag/v1.12.0)

[Compare
Source](https://redirect.github.com/mgechev/revive/compare/v1.11.0...v1.12.0)

##### Changelog

-
[`3148906`](https://redirect.github.com/mgechev/revive/commit/314890615353452f098165994dd4dc391ff264d3)
chore(deps): update module golang.org/x/sys to v0.35.0
([#&#8203;1466](https://redirect.github.com/mgechev/revive/issues/1466))
-
[`22dfd66`](https://redirect.github.com/mgechev/revive/commit/22dfd663755d3bf36121845f4fb2394fab3d96d2)
chore(deps): update module golang.org/x/text to v0.28.0
([#&#8203;1467](https://redirect.github.com/mgechev/revive/issues/1467))
-
[`5a1e5fd`](https://redirect.github.com/mgechev/revive/commit/5a1e5fda4c7737d5aa0c168da5e0e099f6e74cc8)
chore: Add Copilot instructions
([#&#8203;1437](https://redirect.github.com/mgechev/revive/issues/1437))
-
[`74e4f63`](https://redirect.github.com/mgechev/revive/commit/74e4f6318d366ca4ce70bb75066f94cf1afcdbd4)
chore: add macOS test runner
([#&#8203;1465](https://redirect.github.com/mgechev/revive/issues/1465))
-
[`a15fdfd`](https://redirect.github.com/mgechev/revive/commit/a15fdfd322771de535aee2e1c5621f1819150af6)
chore: clean up GoReleaser config, remove unnecessary hooks
([#&#8203;1422](https://redirect.github.com/mgechev/revive/issues/1422))
-
[`809768c`](https://redirect.github.com/mgechev/revive/commit/809768cffe77876d93231b5e4a4114d7f4ce8d29)
chore: enable formatters in golangci-lint config
([#&#8203;1421](https://redirect.github.com/mgechev/revive/issues/1421))
-
[`c971cb7`](https://redirect.github.com/mgechev/revive/commit/c971cb750b0f1b0af66a76f099f32845b8feac33)
chore: improve comments for config files
([#&#8203;1424](https://redirect.github.com/mgechev/revive/issues/1424))
-
[`984b38e`](https://redirect.github.com/mgechev/revive/commit/984b38e246f8ba8108e9d936feb04b5e777774d6)
chore: improve error reporting in test suite
([#&#8203;1431](https://redirect.github.com/mgechev/revive/issues/1431))
-
[`e5f7980`](https://redirect.github.com/mgechev/revive/commit/e5f7980ca3eec3c5e6e58a18f76c35a05370bbab)
chore: run tests and lint on push to main branch
([#&#8203;1470](https://redirect.github.com/mgechev/revive/issues/1470))
-
[`7de7cf3`](https://redirect.github.com/mgechev/revive/commit/7de7cf307642b1881d3127ccc49ed6e20952371f)
docs: add DeepWiki link to README
([#&#8203;1432](https://redirect.github.com/mgechev/revive/issues/1432))
-
[`154a24f`](https://redirect.github.com/mgechev/revive/commit/154a24fb5125181a14bca47c341ec5554a004c0a)
docs: add info about `golang` code snippets
([#&#8203;1494](https://redirect.github.com/mgechev/revive/issues/1494))
-
[`4a6facc`](https://redirect.github.com/mgechev/revive/commit/4a6facc63c3cbaf9b99d52ffe612ce36c3af35d9)
docs: add missing use-waitgroup-go TOC entry
([#&#8203;1492](https://redirect.github.com/mgechev/revive/issues/1492))
-
[`40a690d`](https://redirect.github.com/mgechev/revive/commit/40a690dff5558f6ed2eb62ab29a8f711ff5d736d)
exported: improve detection and error message
([#&#8203;1403](https://redirect.github.com/mgechev/revive/issues/1403))
-
[`68ac551`](https://redirect.github.com/mgechev/revive/commit/68ac5514f58418fe77a7fd88ff7336a35cd37c99)
feature: detect identical-branches in switch statements
([#&#8203;1448](https://redirect.github.com/mgechev/revive/issues/1448))
-
[`9fd8adb`](https://redirect.github.com/mgechev/revive/commit/9fd8adbcd0c7d823577e289b902785dc84591612)
feature: detect useless options in spanner struct tag
([#&#8203;1483](https://redirect.github.com/mgechev/revive/issues/1483))
-
[`9fc7dc7`](https://redirect.github.com/mgechev/revive/commit/9fc7dc7d778f81e40be58419f1eb17f458b7bca9)
feature: identical-branches: check branches of "if ... else if" chains
([#&#8203;1440](https://redirect.github.com/mgechev/revive/issues/1440))
-
[`2db7034`](https://redirect.github.com/mgechev/revive/commit/2db7034aca77795c4ef6489c370974a0ea5d42ec)
feature: new rule `use-waitgroup-go`
([#&#8203;1484](https://redirect.github.com/mgechev/revive/issues/1484))
-
[`12d96ad`](https://redirect.github.com/mgechev/revive/commit/12d96adfd47b0aee1f5096399097cf6e3ea011fd)
feature: new rule enforce-else
([#&#8203;1436](https://redirect.github.com/mgechev/revive/issues/1436))
-
[`f353e4b`](https://redirect.github.com/mgechev/revive/commit/f353e4b0e5be45dcc8ade46989dfbf0600a1d0cc)
feature: new rule identical-ifelseif-conditions
([#&#8203;1454](https://redirect.github.com/mgechev/revive/issues/1454))
-
[`3f4591c`](https://redirect.github.com/mgechev/revive/commit/3f4591cd9aca5716a1a9d669b268a33ea266855b)
feature: new rule identical-switch-conditions
([#&#8203;1451](https://redirect.github.com/mgechev/revive/issues/1451))
-
[`15aded9`](https://redirect.github.com/mgechev/revive/commit/15aded98f632dde49666d122521fb81ee8235040)
feature: new rule package-directory-mismatch
([#&#8203;1429](https://redirect.github.com/mgechev/revive/issues/1429))
-
[`fc46c84`](https://redirect.github.com/mgechev/revive/commit/fc46c84cec2b93a8fdd787172705082337f7bb21)
feature: new rule unsecure-url-scheme
([#&#8203;1478](https://redirect.github.com/mgechev/revive/issues/1478))
-
[`84b565b`](https://redirect.github.com/mgechev/revive/commit/84b565b0bfed2810d2a3f16765acf63b5bf63570)
feature: new rule useless-fallthrough
([#&#8203;1462](https://redirect.github.com/mgechev/revive/issues/1462))
-
[`4720545`](https://redirect.github.com/mgechev/revive/commit/47205455ea22448b391a9acedf1b23cd8481fb6a)
feature: new rules `identical-switch-branches` and
`identical-ifelseif-branches`
-
[`14c91fe`](https://redirect.github.com/mgechev/revive/commit/14c91fed1d70132d81cd0e308257aaaf502bea91)
feature: struct-tag warns on (useless) options on ignored fields
([#&#8203;1487](https://redirect.github.com/mgechev/revive/issues/1487))
-
[`f07a47a`](https://redirect.github.com/mgechev/revive/commit/f07a47a1bf491f715e8d4674b2dc3e7d790a3ee7)
feature: support spanner struct tag in struct-tag rule
([#&#8203;1479](https://redirect.github.com/mgechev/revive/issues/1479))
-
[`6b060cd`](https://redirect.github.com/mgechev/revive/commit/6b060cd03ab038d32c2b6947e67daedbf56da292)
fix(1438): enforce-switch-style - false positive with pure return based
switch
([#&#8203;1446](https://redirect.github.com/mgechev/revive/issues/1446))
-
[`da50656`](https://redirect.github.com/mgechev/revive/commit/da506562bb33bbbfe4e61c23622b995dbdfdb129)
fix(deps): update module golang.org/x/mod to v0.27.0
([#&#8203;1468](https://redirect.github.com/mgechev/revive/issues/1468))
-
[`74bbe3b`](https://redirect.github.com/mgechev/revive/commit/74bbe3b1a64acbc991195b8719943785c25f4173)
fix(deps): update module golang.org/x/tools to v0.36.0
([#&#8203;1469](https://redirect.github.com/mgechev/revive/issues/1469))
-
[`ccf85a2`](https://redirect.github.com/mgechev/revive/commit/ccf85a25e5fcb325c4c1ab12aaae27265b147719)
fix: default formatter generates an extra new line
([#&#8203;1485](https://redirect.github.com/mgechev/revive/issues/1485))
-
[`b969b8b`](https://redirect.github.com/mgechev/revive/commit/b969b8be4ac432179917dd95f328906806f1e9dd)
modifies-parameter: handle slices.Delete and slices.DeleteFunc
([#&#8203;1427](https://redirect.github.com/mgechev/revive/issues/1427))
-
[`b34c8e9`](https://redirect.github.com/mgechev/revive/commit/b34c8e96eccd5e0cbcb03ff6a8b39419384b2a56)
refactor: fix musttag lint issues
([#&#8203;1464](https://redirect.github.com/mgechev/revive/issues/1464))
-
[`9d600b6`](https://redirect.github.com/mgechev/revive/commit/9d600b6df1ce7916a215c3a02bb8a5804eef9b13)
refactor: reduces the number of references to deprecated \*ast.Object
([#&#8203;1473](https://redirect.github.com/mgechev/revive/issues/1473))
-
[`e1d05f7`](https://redirect.github.com/mgechev/revive/commit/e1d05f7a0e941fe7377279012e22b631e6e3df26)
refactor: remove rule enforce-else
([#&#8203;1495](https://redirect.github.com/mgechev/revive/issues/1495))
-
[`cf49015`](https://redirect.github.com/mgechev/revive/commit/cf4901574e89077ddc7fd5cd3dbb8a0f887f24e5)
refactor: replaces calls to astutils.PickNodes with calls to
astutils.SeekNode when possible
([#&#8203;1482](https://redirect.github.com/mgechev/revive/issues/1482))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, 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-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi43IiwidXBkYXRlZEluVmVyIjoiNDEuODIuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-08-28 16:09:16 -07:00
committed by GitHub
parent 0724539e71
commit d99c68cb21
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ require (
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/mgechev/revive v1.11.0 // indirect
github.com/mgechev/revive v1.12.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/moricho/tparallel v0.3.2 // indirect
github.com/muesli/termenv v0.16.0 // indirect
+2 -2
View File
@@ -328,8 +328,8 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/mgechev/revive v1.11.0 h1:b/gLLpBE427o+Xmd8G58gSA+KtBwxWinH/A565Awh0w=
github.com/mgechev/revive v1.11.0/go.mod h1:tI0oLF/2uj+InHCBLrrqfTKfjtFTBCFFfG05auyzgdw=
github.com/mgechev/revive v1.12.0 h1:Q+/kkbbwerrVYPv9d9efaPGmAO/NsxwW/nE6ahpQaCU=
github.com/mgechev/revive v1.12.0/go.mod h1:VXsY2LsTigk8XU9BpZauVLjVrhICMOV3k1lpB3CXrp8=
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/moricho/tparallel v0.3.2 h1:odr8aZVFA3NZrNybggMkYO3rgPRcqjeQUlBBFVxKHTI=