1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-09-16 09:26:25 +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`](3148906153)
chore(deps): update module golang.org/x/sys to v0.35.0
([#&#8203;1466](https://redirect.github.com/mgechev/revive/issues/1466))
-
[`22dfd66`](22dfd66375)
chore(deps): update module golang.org/x/text to v0.28.0
([#&#8203;1467](https://redirect.github.com/mgechev/revive/issues/1467))
-
[`5a1e5fd`](5a1e5fda4c)
chore: Add Copilot instructions
([#&#8203;1437](https://redirect.github.com/mgechev/revive/issues/1437))
-
[`74e4f63`](74e4f6318d)
chore: add macOS test runner
([#&#8203;1465](https://redirect.github.com/mgechev/revive/issues/1465))
-
[`a15fdfd`](a15fdfd322)
chore: clean up GoReleaser config, remove unnecessary hooks
([#&#8203;1422](https://redirect.github.com/mgechev/revive/issues/1422))
-
[`809768c`](809768cffe)
chore: enable formatters in golangci-lint config
([#&#8203;1421](https://redirect.github.com/mgechev/revive/issues/1421))
-
[`c971cb7`](c971cb750b)
chore: improve comments for config files
([#&#8203;1424](https://redirect.github.com/mgechev/revive/issues/1424))
-
[`984b38e`](984b38e246)
chore: improve error reporting in test suite
([#&#8203;1431](https://redirect.github.com/mgechev/revive/issues/1431))
-
[`e5f7980`](e5f7980ca3)
chore: run tests and lint on push to main branch
([#&#8203;1470](https://redirect.github.com/mgechev/revive/issues/1470))
-
[`7de7cf3`](7de7cf3076)
docs: add DeepWiki link to README
([#&#8203;1432](https://redirect.github.com/mgechev/revive/issues/1432))
-
[`154a24f`](154a24fb51)
docs: add info about `golang` code snippets
([#&#8203;1494](https://redirect.github.com/mgechev/revive/issues/1494))
-
[`4a6facc`](4a6facc63c)
docs: add missing use-waitgroup-go TOC entry
([#&#8203;1492](https://redirect.github.com/mgechev/revive/issues/1492))
-
[`40a690d`](40a690dff5)
exported: improve detection and error message
([#&#8203;1403](https://redirect.github.com/mgechev/revive/issues/1403))
-
[`68ac551`](68ac5514f5)
feature: detect identical-branches in switch statements
([#&#8203;1448](https://redirect.github.com/mgechev/revive/issues/1448))
-
[`9fd8adb`](9fd8adbcd0)
feature: detect useless options in spanner struct tag
([#&#8203;1483](https://redirect.github.com/mgechev/revive/issues/1483))
-
[`9fc7dc7`](9fc7dc7d77)
feature: identical-branches: check branches of "if ... else if" chains
([#&#8203;1440](https://redirect.github.com/mgechev/revive/issues/1440))
-
[`2db7034`](2db7034aca)
feature: new rule `use-waitgroup-go`
([#&#8203;1484](https://redirect.github.com/mgechev/revive/issues/1484))
-
[`12d96ad`](12d96adfd4)
feature: new rule enforce-else
([#&#8203;1436](https://redirect.github.com/mgechev/revive/issues/1436))
-
[`f353e4b`](f353e4b0e5)
feature: new rule identical-ifelseif-conditions
([#&#8203;1454](https://redirect.github.com/mgechev/revive/issues/1454))
-
[`3f4591c`](3f4591cd9a)
feature: new rule identical-switch-conditions
([#&#8203;1451](https://redirect.github.com/mgechev/revive/issues/1451))
-
[`15aded9`](15aded98f6)
feature: new rule package-directory-mismatch
([#&#8203;1429](https://redirect.github.com/mgechev/revive/issues/1429))
-
[`fc46c84`](fc46c84cec)
feature: new rule unsecure-url-scheme
([#&#8203;1478](https://redirect.github.com/mgechev/revive/issues/1478))
-
[`84b565b`](84b565b0bf)
feature: new rule useless-fallthrough
([#&#8203;1462](https://redirect.github.com/mgechev/revive/issues/1462))
-
[`4720545`](47205455ea)
feature: new rules `identical-switch-branches` and
`identical-ifelseif-branches`
-
[`14c91fe`](14c91fed1d)
feature: struct-tag warns on (useless) options on ignored fields
([#&#8203;1487](https://redirect.github.com/mgechev/revive/issues/1487))
-
[`f07a47a`](f07a47a1bf)
feature: support spanner struct tag in struct-tag rule
([#&#8203;1479](https://redirect.github.com/mgechev/revive/issues/1479))
-
[`6b060cd`](6b060cd03a)
fix(1438): enforce-switch-style - false positive with pure return based
switch
([#&#8203;1446](https://redirect.github.com/mgechev/revive/issues/1446))
-
[`da50656`](da506562bb)
fix(deps): update module golang.org/x/mod to v0.27.0
([#&#8203;1468](https://redirect.github.com/mgechev/revive/issues/1468))
-
[`74bbe3b`](74bbe3b1a6)
fix(deps): update module golang.org/x/tools to v0.36.0
([#&#8203;1469](https://redirect.github.com/mgechev/revive/issues/1469))
-
[`ccf85a2`](ccf85a25e5)
fix: default formatter generates an extra new line
([#&#8203;1485](https://redirect.github.com/mgechev/revive/issues/1485))
-
[`b969b8b`](b969b8be4a)
modifies-parameter: handle slices.Delete and slices.DeleteFunc
([#&#8203;1427](https://redirect.github.com/mgechev/revive/issues/1427))
-
[`b34c8e9`](b34c8e96ec)
refactor: fix musttag lint issues
([#&#8203;1464](https://redirect.github.com/mgechev/revive/issues/1464))
-
[`9d600b6`](9d600b6df1)
refactor: reduces the number of references to deprecated \*ast.Object
([#&#8203;1473](https://redirect.github.com/mgechev/revive/issues/1473))
-
[`e1d05f7`](e1d05f7a0e)
refactor: remove rule enforce-else
([#&#8203;1495](https://redirect.github.com/mgechev/revive/issues/1495))
-
[`cf49015`](cf4901574e)
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

View File

@@ -146,7 +146,7 @@ require (
github.com/mattn/go-colorable v0.1.14 // indirect github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // 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/mitchellh/go-homedir v1.1.0 // indirect
github.com/moricho/tparallel v0.3.2 // indirect github.com/moricho/tparallel v0.3.2 // indirect
github.com/muesli/termenv v0.16.0 // indirect github.com/muesli/termenv v0.16.0 // indirect

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-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 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= 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.12.0 h1:Q+/kkbbwerrVYPv9d9efaPGmAO/NsxwW/nE6ahpQaCU=
github.com/mgechev/revive v1.11.0/go.mod h1:tI0oLF/2uj+InHCBLrrqfTKfjtFTBCFFfG05auyzgdw= 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 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/moricho/tparallel v0.3.2 h1:odr8aZVFA3NZrNybggMkYO3rgPRcqjeQUlBBFVxKHTI= github.com/moricho/tparallel v0.3.2 h1:odr8aZVFA3NZrNybggMkYO3rgPRcqjeQUlBBFVxKHTI=