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

fix(deps): update module github.com/golangci/golangci-lint to v1.63.4 #271

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/golangci/golangci-lint v1.60.3 -> v1.63.4 age adoption passing confidence

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

v1.63.2

Compare Source

v1.63.1

Compare Source

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, the maintainers and linter authors.

We appreciate it! ❤️

For key updates, see the changelog.

Changelog

v1.63.0

Compare Source

v1.62.2

Compare Source

  1. Updated linters
    • fatcontext: from 0.5.2 to 0.5.3
    • ginkgolinter: from 0.18.0 to 0.18.3
    • go-errorlint: from 1.6.0 to 1.7.0
    • iface: from 1.2.0 to 1.2.1
    • revive: from 1.5.0 to 1.5.1
    • testifylint: from 1.5.0 to 1.5.2
  2. Misc.
    • fix: ignore cache error when file not found

v1.62.1

Compare Source

Cancelled due to CI failure.

v1.62.0

Compare Source

  1. New linters
  2. Updated linters
    • ⚠️ execinquery: deprecation step 2
    • ⚠️ gomnd: deprecation step 2 (replaced by mnd)
    • bidichk: from 0.2.7 to 0.3.2 (important performance improvement)
    • canonicalheader: from 1.1.1 to 1.1.2
    • cyclop: from 1.2.1 to 1.2.3
    • dupword: from 0.1.1 to 0.1.3
    • errcheck: from 1.7.0 to 1.8.0
    • errchkjson: from 0.3.6 to 0.4.0
    • errname: from 0.1.13 to 1.0.0
    • ginkgolinter: from 0.17.0 to 0.18.0 (new option: force-succeed)
    • go-check-sumtype: from 0.1.4 to 0.2.0 (new option: default-signifies-exhaustive)
    • go-critic: from 0.11.4 to 0.11.5
    • go-printf-func-name: from 7558a9e to v0.1.0
    • godot: from 1.4.17 to 1.4.18
    • gosec: from 2.21.2 to 2.21.4
    • intrange: from 0.2.0 to 0.2.1
    • loggercheck: from 0.9.4 to 0.10.1 (log/slog support)
    • musttag: from 0.12.2 to 0.13.0
    • nakedret: from 2.0.4 to 2.0.5
    • nilnil: from 0.1.9 to 1.0.0 (new option: detect-opposite)
    • noctx: from 0.0.2 to 0.1.0
    • protogetter: from 0.3.6 to 0.3.8
    • revive: from 1.3.9 to 1.5.0 (new rules: filename-format, and file-length-limit)
    • tenv: from 1.10.0 to 1.12.1 (handle dot import)
    • testifylint: from 1.4.3 to 1.5.0 (new checkers: contains, encoded-compare, regexp)
  3. Misc.
    • Type sizing when cross-compiling (32-bit).
    • code-climate: add check_name field
    • Improve Go version detection
    • Fix Go version propagation
  4. Documentation
    • Adds a section about exclude-dirs-use-default
    • Improve 'install from sources' section
    • Improve FAQ about Go versions
    • Improve linter/rule/check docs
    • Improve new linter section
    • Improve forbidigo pattern examples for built-in functions

v1.61.0

Compare Source

  1. Enhancements
    • Add junit-xml-extended format
    • Exclude Swagger Codegen files by default
  2. Updated linters
    • dupword: from 0.0.14 to 0.1.1
    • fatcontext: from 0.4.0 to 0.5.2
    • gci: from 0.13.4 to 0.13.5 (new option no-lex-order)
    • go-ruleguard: from 0.4.2 to 0fe6f58 (fix panic with custom linters)
    • godot: from 1.4.16 to 1.4.17
    • gomodguard: from 1.3.3 to 1.3.5
    • gosec: disable temporarily G407
    • gosec: from ab3f6c1 to 2.21.2 (partially fix G115)
    • intrange: from 0.1.2 to 0.2.0
    • nolintlint: remove the empty line in the directive replacement
  3. Misc.
    • Improve runtime version parsing
  4. Documentation
    • Add additional info about typecheck

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 this update again.


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

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

Copy link
Contributor Author

renovate bot commented Jan 17, 2025

ℹ Artifact update notice

File name: tools/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):

  • 58 additional dependencies were updated

Details:

Package Change
github.com/4meepo/tagalign v1.3.4 -> v1.4.1
github.com/Abirdcfly/dupword v0.0.14 -> v0.1.3
github.com/Antonboom/errname v0.1.13 -> v1.0.0
github.com/Antonboom/nilnil v0.1.9 -> v1.0.1
github.com/Antonboom/testifylint v1.4.3 -> v1.5.2
github.com/Crocmagnon/fatcontext v0.4.0 -> v0.5.3
github.com/Masterminds/semver/v3 v3.2.1 -> v3.3.0
github.com/alecthomas/go-check-sumtype v0.1.4 -> v0.3.1
github.com/alexkohler/nakedret/v2 v2.0.4 -> v2.0.5
github.com/ashanbrown/makezero v1.1.1 -> v1.2.0
github.com/bkielbasa/cyclop v1.2.1 -> v1.2.3
github.com/bombsimon/wsl/v4 v4.4.1 -> v4.5.0
github.com/breml/bidichk v0.2.7 -> v0.3.2
github.com/breml/errchkjson v0.3.6 -> v0.4.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.1.2 -> v0.3.0
github.com/curioswitch/go-reassign v0.2.0 -> v0.3.0
github.com/daixiang0/gci v0.13.4 -> v0.13.5
github.com/fatih/color v1.17.0 -> v1.18.0
github.com/ghostiam/protogetter v0.3.6 -> v0.3.8
github.com/go-critic/go-critic v0.11.4 -> v0.11.5
github.com/go-viper/mapstructure/v2 v2.0.0 -> v2.2.1
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/kisielk/errcheck v1.7.0 -> v1.8.0
github.com/lasiar/canonicalheader v1.1.1 -> v1.1.2
github.com/ldez/gomoddirectives v0.2.4 -> v0.6.0
github.com/ldez/tagliatelle v0.5.0 -> v0.7.1
github.com/mattn/go-runewidth v0.0.15 -> v0.0.16
github.com/mgechev/revive v1.3.9 -> v1.5.1
github.com/nunnatsa/ginkgolinter v0.16.2 -> v0.18.4
github.com/pelletier/go-toml/v2 v2.2.2 -> v2.2.3
github.com/polyfloyd/go-errorlint v1.6.0 -> v1.7.0
github.com/quasilyte/go-ruleguard v0.4.2 -> v0.4.3-0.20240823090925-0fe6f58b47b1
github.com/ryancurrah/gomodguard v1.3.3 -> v1.3.5
github.com/sanposhiho/wastedassign/v2 v2.0.7 -> v2.1.0
github.com/sashamelentyev/usestdlibvars v1.27.0 -> v1.28.0
github.com/securego/gosec/v2 v2.20.1-0.20240822074752-ab3f6c1c83a0 -> v2.21.4
github.com/sivchari/tenv v1.10.0 -> v1.12.1
github.com/sonatard/noctx v0.0.2 -> v0.1.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.16 -> v1.4.20
github.com/timakin/bodyclose v0.0.0-20240125160201-f835fa56326a -> v0.0.0-20241017074812-ed6a65f985e3
github.com/timonwong/loggercheck v0.9.4 -> v0.10.1
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
go-simpler.org/musttag v0.12.2 -> v0.13.0
go.uber.org/automaxprocs v1.5.3 -> v1.6.0
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 -> v0.0.0-20240909161429-701f63a606c0
golang.org/x/exp/typeparams v0.0.0-20240416160154-fe59bbe5cc7f -> v0.0.0-20241108190413-2d47ceb2692f
golang.org/x/mod v0.21.0 -> v0.22.0
golang.org/x/tools v0.26.0 -> v0.28.0

@@ -5,57 +5,58 @@ go 1.22.7
toolchain go1.23.5

require (
github.com/golangci/golangci-lint v1.60.3
github.com/golangci/golangci-lint v1.63.4
Copy link
Contributor

@ddl-ebrown ddl-ebrown Jan 17, 2025

Choose a reason for hiding this comment

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

Going to merge this for now... but this isn't really the right way to pull in golangci-lint

@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 871748f to 99c9f84 Compare January 17, 2025 17:31
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 99c9f84 to 30e12ed Compare January 30, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant