Skip to content

Update dependency golangci/golangci-lint to v2.2.1 #939

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 31, 2025

This PR contains the following updates:

Package Type Update Change
golangci/golangci-lint minor v2.1.5 -> v2.2.1
golangci/golangci-lint repository minor v2.1.5 -> v2.2.1

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.2.1

Compare Source

  1. Linters bug fixes
  • varnamelen: fix configuration

v2.2.0

Compare Source

  1. New linters
  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

v2.1.6

Compare Source

  1. Linters bug fixes
    • godot: from 1.5.0 to 1.5.1
    • musttag: from 0.13.0 to 0.13.1
  2. Documentation
    • Add note about golangci-lint v2 integration in VS Code

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) 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 requested a review from a team as a code owner March 31, 2025 07:28
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 31, 2025
@renovate renovate bot enabled auto-merge (squash) March 31, 2025 07:28
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch 2 times, most recently from 7102de5 to 96aca29 Compare April 15, 2025 19:06
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch 15 times, most recently from f04b72b to f40d291 Compare May 1, 2025 16:29
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch 7 times, most recently from b28232f to ece4d9e Compare May 2, 2025 08:37
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v2 Update dependency golangci/golangci-lint to v2 - autoclosed May 2, 2025
@renovate renovate bot closed this May 2, 2025
auto-merge was automatically disabled May 2, 2025 08:46

Pull request was closed

@renovate renovate bot deleted the renovate/golangci-golangci-lint-2.x branch May 2, 2025 08:46
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v2 - autoclosed Update dependency golangci/golangci-lint to v2 May 5, 2025
@renovate renovate bot reopened this May 5, 2025
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch from 45a892c to ece4d9e Compare May 5, 2025 07:13
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v2 Update dependency golangci/golangci-lint to v2.1.6 May 5, 2025
@renovate renovate bot enabled auto-merge (squash) May 5, 2025 12:24
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch from ece4d9e to 9de8129 Compare May 5, 2025 12:24
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch 2 times, most recently from 210e73d to 52936b6 Compare June 3, 2025 21:31
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch from 52936b6 to 57f53ac Compare June 28, 2025 21:43
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v2.1.6 Update dependency golangci/golangci-lint to v2.2.0 Jun 28, 2025
| datasource  | package                | from   | to     |
| ----------- | ---------------------- | ------ | ------ |
| github-tags | golangci/golangci-lint | v2.1.5 | v2.2.1 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v2.2.0 Update dependency golangci/golangci-lint to v2.2.1 Jun 29, 2025
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-2.x branch from 57f53ac to 05a517e Compare June 29, 2025 21:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants