Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 24, 2025

This PR contains the following updates:

Package Update Change Age Adoption Passing Confidence OpenSSF
github.com/golangci/golangci-lint minor v2.0.1 -> v2.1.1 age adoption passing confidence OpenSSF Scorecard
github.com/golangci/golangci-lint minor 2.0.1 -> 2.1.1 age adoption passing confidence OpenSSF Scorecard

Release Notes

golangci/golangci-lint (github.com/golangci/golangci-lint)

v2.1.1

Compare Source

The release process of the v2.1.0 as failed due to a regression inside goreleaser.
The binaries of v2.1.0 has been published but not the other articfacts (AUR, Docker, etc.)

v2.1.0

Compare Source

  1. Enhancements
    • Add an option to display absolute paths (--path-mode=abs)
    • Add configuration path placeholder (${config-path})
    • Add warn-unused option for fmt command
    • Colored diff for fmt command (golangci-lint fmt --diff-colored)
  2. New linters
  3. Linters new features or changes
    • go-errorlint: from 1.7.1 to 1.8.0 (automatic error comparison and type assertion fixes)
    • ⚠️ goconst: ignore-strings is deprecated and replaced by ignore-string-values
    • goconst: from 1.7.1 to 1.8.1 (new options: find-duplicates, eval-const-expressions)
    • govet: add httpmux analyzer
    • nilnesserr: from 0.1.2 to 0.2.0 (detect more cases)
    • paralleltest: from 1.0.10 to 1.0.14 (checks only _test.go files)
    • revive: from 1.7.0 to 1.9.0 (support kebab case for setting names)
    • sloglint: from 0.9.0 to 0.11.0 (autofix, new option msg-style, suggest slog.DiscardHandler)
    • wrapcheck: from 2.10.0 to 2.11.0 (new option report-internal-errors)
    • wsl: from 4.6.0 to 4.7.0 (cgo files are always excluded)
  4. Linters bug fixes
    • fatcontext: from 0.7.1 to 0.7.2
    • gocritic: fix importshadow checker
    • gosec: from 2.22.2 to 2.22.3
    • ireturn: from 0.3.1 to 0.4.0
    • loggercheck: from 0.10.1 to 0.11.0
    • nakedret: from 2.0.5 to 2.0.6
    • nonamedreturns: from 1.0.5 to 1.0.6
    • protogetter: from 0.3.12 to 0.3.13
    • testifylint: from 1.6.0 to 1.6.1
    • unconvert: update to HEAD
  5. Misc.
    • Fixes memory leaks when using go1.(N) with golangci-lint built with go1.(N-X)
    • Adds golangci-lint-fmt pre-commit hook
  6. Documentation
    • Improvements
    • Updates section about vscode integration

v2.0.2

Compare Source

  1. Misc.
    • Fixes flags parsing for formatters
    • Fixes the filepath used by the exclusion source option
  2. Documentation
    • Adds a section about flags migration
    • Cleaning pages with v1 options

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 becomes conflicted, 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 24, 2025 13:26
@renovate renovate bot added dependencies Pull requests that update a dependency file (Renovate/Dependabot) go Pull requests that update Go code (Renovate/Dependabot) labels Mar 24, 2025
@renovate renovate bot requested a review from a team as a code owner March 24, 2025 13:26
@renovate renovate bot added the major Pull requests that update major dependencies (Renovate/Dependabot) label Mar 24, 2025
@bunnyshell
Copy link

bunnyshell bot commented Mar 24, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

@codecov
Copy link

codecov bot commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.04%. Comparing base (127eef9) to head (a1518e3).
Report is 460 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #22458      +/-   ##
==========================================
- Coverage   56.06%   56.04%   -0.02%     
==========================================
  Files         343      343              
  Lines       57536    57536              
==========================================
- Hits        32257    32248       -9     
- Misses      22634    22647      +13     
+ Partials     2645     2641       -4     

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

@renovate renovate bot force-pushed the renovate/github.zerozr99.workers.dev-golangci-golangci-lint-2.x branch 3 times, most recently from 2212996 to dc94386 Compare March 27, 2025 16:39
@renovate renovate bot removed the major Pull requests that update major dependencies (Renovate/Dependabot) label Mar 27, 2025
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v2 chore(deps): update module github.com/golangci/golangci-lint to v2.0.2 Mar 27, 2025
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v2.0.2 chore(deps): update module github.com/golangci/golangci-lint to v2.0.2 - autoclosed Mar 31, 2025
@renovate renovate bot closed this Mar 31, 2025
@renovate renovate bot deleted the renovate/github.zerozr99.workers.dev-golangci-golangci-lint-2.x branch March 31, 2025 07:03
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v2.0.2 - autoclosed chore(deps): update module github.com/golangci/golangci-lint to v2.0.2 Mar 31, 2025
@renovate renovate bot reopened this Mar 31, 2025
@renovate renovate bot force-pushed the renovate/github.zerozr99.workers.dev-golangci-golangci-lint-2.x branch from a3932b0 to dc94386 Compare March 31, 2025 10:54
@bunnyshell
Copy link

bunnyshell bot commented Mar 31, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/github.zerozr99.workers.dev-golangci-golangci-lint-2.x branch from dc94386 to a1518e3 Compare April 12, 2025 18:55
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v2.0.2 chore(deps): update module github.com/golangci/golangci-lint to v2.1.1 Apr 12, 2025
@crenshaw-dev crenshaw-dev merged commit faf0073 into master Apr 12, 2025
30 of 31 checks passed
Hapshanko pushed a commit to Hapshanko/argo-cd that referenced this pull request Apr 29, 2025
argoproj#22458)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Hapshanko <[email protected]>
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 (Renovate/Dependabot) go Pull requests that update Go code (Renovate/Dependabot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant