Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore: Update module github.com/golangci/golangci-lint to v1.63.4 #1159

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

Conversation

grafanarenovatebot[bot]
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/golangci/golangci-lint require minor v1.62.2 -> v1.63.4

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

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

v1.63.4

Compare Source

  1. Linters bug fixes
    • dupl, gomodguard, revive: keep only Go-files.

v1.63.3

Compare Source

  1. Linters bug fixes
    • gofmt, gofumpt, goimports, gci: panic with several trailing EOL
    • goheader: skip issues with invalid positions

v1.63.2

Compare Source

  1. Linters bug fixes
    • gofmt, gofumpt, goimports, gci: panic with missing trailing EOL

v1.63.1

Compare Source

  1. Linters bug fixes
    • cgi: invalid reports with cgo
    • gofumpt: panic with autofix and cgo

v1.63.0

Compare Source

  1. Enhancements
    • Add support for SuggestedFixes 🎉 (35 linters can "autofix" reports).
    • Formatters (gofmt, goimports, gofumpt, gci) are applied after the suggested fixes.
  2. New linters
  3. Linters new features
    • gci: new options: no-inline-comments, no-prefix-comments
    • gomoddirectives: from 0.2.4 to 0.6.0 (new options: go-version-pattern, toolchain-pattern,toolchain-forbidden, tool-forbidden, go-debug-forbidden)
    • govet: new stdversion, waitgroup analyzers
    • importas: allow multiple empty aliases
    • loggercheck: new slog option
    • recvcheck: from 0.1.2 to 0.2.0 (new options: disable-builtin, exclusions)
    • tagliatelle: from 0.5.0 to 0.7.1 (new options: ignored-fields, extended-rules,overrides, pkg, ignore)
    • usestdlibvars: from 1.27.0 to 1.28.0 (autofix)
    • wrapcheck: from 2.9.0 to 2.10.0 (new option: extra-ignore-sigs)
  4. Linters bug fixes
    • asciicheck: from 0.2.0 to 0.3.0
    • bodyclose: from 5742072 to ed6a65f
    • funlen: from 0.1.0 to 0.2.0
    • ginkgolinter: from 0.18.3 to 0.18.4
    • gochecksumtype: from 0.2.0 to 0.3.1
    • gocognit: from 1.1.3 to 1.2.0
    • godot: from 1.4.18 to 1.4.20
    • goheader: report position improvement
    • gosec: handling of global nosec option when it is false
    • iface: from 1.2.1 to 1.3.0
    • importas: from 0.1.0 to 0.2.0
    • intrange: from 0.2.1 to 0.3.0
    • makezero: from 1.1.1 to 1.2.0
    • mirror: from 1.2.0 to 1.3.0
    • nilnil: from 1.0.0 to 1.0.1
    • nosprintfhostport: from 0.1.1 to 0.2.0
    • reassign: from 0.2.0 to 0.3.0
    • spancheck: from 0.6.2 to 0.6.4
    • tagalign: from 1.3.4 to 1.4.1
    • wastedassign: from 2.0.7 to 2.1.0
    • whitespace: from 0.1.1 to 0.2.0
    • wsl: from 4.4.1 to 4.5.0
  5. Deprecations
    • ⚠️ output.uniq-by-line is deprecated and replaced by issues.uniq-by-line.
  6. Misc.
    • Improvements of the help command (color and JSON support).
    • Removes decoder, sloglint, tagalin from format preset.
    • Enables paths with junction inside Windows.
    • The timeout is disabled if run.timeout <= 0.

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.


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

This PR has been generated by Renovate Bot.

@grafanarenovatebot grafanarenovatebot bot requested a review from a team as a code owner January 22, 2025 11:16
@grafanarenovatebot
Copy link
Contributor Author

ℹ Artifact update notice

File name: scripts/go/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 30 additional dependencies were updated

Details:

Package Change
github.com/4meepo/tagalign v1.3.4 -> v1.4.1
github.com/alecthomas/go-check-sumtype v0.2.0 -> v0.3.1
github.com/ashanbrown/makezero v1.1.1 -> v1.2.0
github.com/bombsimon/wsl/v4 v4.4.1 -> v4.5.0
github.com/butuzov/ireturn v0.3.0 -> v0.3.1
github.com/butuzov/mirror v1.2.0 -> v1.3.0
github.com/ckaznocha/intrange v0.2.1 -> v0.3.0
github.com/curioswitch/go-reassign v0.2.0 -> v0.3.0
github.com/go-xmlfmt/xmlfmt v1.1.2 -> v1.1.3
github.com/golangci/gofmt v0.0.0-20240816233607-d8596aa466a9 -> v0.0.0-20241223200906-057b0627d9b9
github.com/jjti/go-spancheck v0.6.2 -> v0.6.4
github.com/julz/importas v0.1.0 -> v0.2.0
github.com/ldez/gomoddirectives v0.2.4 -> v0.6.0
github.com/nunnatsa/ginkgolinter v0.18.3 -> v0.18.4
github.com/raeperd/recvcheck v0.1.2 -> v0.2.0
github.com/sanposhiho/wastedassign/v2 v2.0.7 -> v2.1.0
github.com/sashamelentyev/usestdlibvars v1.27.0 -> v1.28.0
github.com/stbenjam/no-sprintf-host-port v0.1.1 -> v0.2.0
github.com/tdakkota/asciicheck v0.2.0 -> v0.3.0
github.com/tetafro/godot v1.4.18 -> v1.4.20
github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 -> v0.0.0-20241017074812-ed6a65f985e3
github.com/tomarrell/wrapcheck/v2 v2.9.0 -> v2.10.0
github.com/ultraware/funlen v0.1.0 -> v0.2.0
github.com/ultraware/whitespace v0.1.1 -> v0.2.0
github.com/uudashr/gocognit v1.1.3 -> v1.2.0
github.com/uudashr/iface v1.2.1 -> v1.3.0
golang.org/x/sync v0.9.0 -> v0.10.0
golang.org/x/sys v0.27.0 -> v0.28.0
golang.org/x/text v0.18.0 -> v0.20.0
golang.org/x/tools v0.27.0 -> v0.28.0

@grafanarenovatebot grafanarenovatebot bot force-pushed the grafanarenovatebot/github.com-golangci-golangci-lint-1.x branch from 70b1ffb to 3373f7a Compare January 23, 2025 12:22
@grafanarenovatebot grafanarenovatebot bot force-pushed the grafanarenovatebot/github.com-golangci-golangci-lint-1.x branch from 3373f7a to 5a0369f Compare January 23, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants