Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 4, 2025

This PR contains the following updates:

Package Type Update Change
golangci/golangci-lint minor v2.6.2 -> v2.7.2
golangci/golangci-lint repository minor v2.6.2 -> v2.7.2

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

golangci/golangci-lint (golangci/golangci-lint)

v2.7.2

Compare Source

Released on 2025-12-07

  1. Linter bug fixes

v2.7.1

Compare Source

Released on 2025-12-04

  1. Linter bug fixes
    • modernize: disable stringscut analyzer

v2.7.0

Compare Source

  1. Bug fixes
    • fix: clone args used by custom command
  2. Linters new features or changes
    • no-sprintf-host-port: from 0.2.0 to 0.3.1 (ignore string literals without a colon)
    • unqueryvet: from 1.2.1 to 1.3.0 (handles const and var declarations)
    • revive: from 1.12.0 to 1.13.0 (new option: enable-default-rules, new rules: forbidden-call-in-wg-go, unnecessary-if, inefficient-map-lookup)
    • modernize: from 0.38.0 to 0.39.0 (new analyzers: plusbuild, stringscut)
  3. Linters bug fixes
    • perfsprint: from 0.10.0 to 0.10.1
    • wrapcheck: from 2.11.0 to 2.12.0
    • godoc-lint: from 0.10.1 to 0.10.2
  4. Misc.
    • Add some flags to the custom command
  5. Documentation
    • docs: split changelog v1 and v2

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 4, 2025
@renovate renovate bot requested a review from a team as a code owner December 4, 2025 09:31
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 4, 2025
@renovate renovate bot enabled auto-merge (squash) December 4, 2025 09:31
@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.09%. Comparing base (d9476ca) to head (65fc071).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4395      +/-   ##
==========================================
- Coverage   86.12%   86.09%   -0.03%     
==========================================
  Files         132      132              
  Lines       14381    14381              
  Branches       35       35              
==========================================
- Hits        12385    12382       -3     
- Misses       1786     1788       +2     
- Partials      210      211       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch from 167cc48 to 27edd42 Compare December 4, 2025 14:36
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v2.7.0 Update dependency golangci/golangci-lint to v2.7.1 Dec 4, 2025
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch 6 times, most recently from 3e5abae to e83ac8a Compare December 4, 2025 21:18
Copy link
Contributor

@tataruty tataruty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packages renaming is required to pass linter

@github-project-automation github-project-automation bot moved this from 🆕 New to 🏗 In Progress in NGINX Gateway Fabric Dec 5, 2025
@tataruty tataruty self-requested a review December 5, 2025 15:22
@tataruty tataruty dismissed their stale review December 5, 2025 15:23

will use nolint

@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch 3 times, most recently from 899ebb1 to 00c6f6e Compare December 7, 2025 22:01
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v2.7.1 Update dependency golangci/golangci-lint to v2.7.2 Dec 7, 2025
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch 7 times, most recently from 9459c38 to 61820b0 Compare December 8, 2025 23:52
@tataruty tataruty force-pushed the renovate/golangci-golangci-lint-2.x branch 2 times, most recently from 9895e5f to 93c43e0 Compare December 9, 2025 11:25
Copy link
Contributor

@tataruty tataruty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cannot find the solution for sort package.
//nolint:revive is autoremoved during next make lint
//nolint becomes // nolint on save (change settings didn't help)

@sjberman
Copy link
Collaborator

sjberman commented Dec 9, 2025

@tataruty What about putting the nolint on the same line as the package name?

@tataruty
Copy link
Contributor

tataruty commented Dec 9, 2025

@tataruty What about putting the nolint on the same line as the package name?

@sjberman also tried: same disappearance after use make lint
Easier to rename package

| datasource  | package                | from   | to     |
| ----------- | ---------------------- | ------ | ------ |
| github-tags | golangci/golangci-lint | v2.6.2 | v2.7.2 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch from 93c43e0 to a109aae Compare December 9, 2025 18:50
@renovate
Copy link
Contributor Author

renovate bot commented Dec 9, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate renovate bot merged commit 3676f99 into main Dec 10, 2025
59 of 61 checks passed
@renovate renovate bot deleted the renovate/golangci-golangci-lint-2.x branch December 10, 2025 09:03
@github-project-automation github-project-automation bot moved this from 🏗 In Progress to ✅ Done in NGINX Gateway Fabric Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants