Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 12, 2024

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
github.com/golangci/golangci-lint v1.55.2v1.64.8 age confidence

Release Notes

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

v1.64.8

Compare Source

  • Detects use of configuration files from golangci-lint v2

v1.64.7

Compare Source

  1. Linters bug fixes
    • depguard: from 2.2.0 to 2.2.1
    • dupl: from 3e9179a to f665c8d
    • gosec: from 2.22.1 to 2.22.2
    • staticcheck: from 0.6.0 to 0.6.1
  2. Documentation
    • Add GitLab documentation

v1.64.6

Compare Source

  1. Linters bug fixes
    • asciicheck: from 0.4.0 to 0.4.1
    • contextcheck: from 1.1.5 to 1.1.6
    • errcheck: from 1.8.0 to 1.9.0
    • exptostd: from 0.4.1 to 0.4.2
    • ginkgolinter: from 0.19.0 to 0.19.1
    • go-exhaustruct: from 3.3.0 to 3.3.1
    • gocheckcompilerdirectives: from 1.2.1 to 1.3.0
    • godot: from 1.4.20 to 1.5.0
    • perfsprint: from 0.8.1 to 0.8.2
    • revive: from 1.6.1 to 1.7.0
    • tagalign: from 1.4.1 to 1.4.2

v1.64.5

Compare Source

  1. Bug fixes
    • Add missing flag new-from-merge-base-flag
  2. Linters bug fixes
    • asciicheck: from 0.3.0 to 0.4.0
    • forcetypeassert: from 0.1.0 to 0.2.0
    • gosec: from 2.22.0 to 2.22.1

v1.64.4

Compare Source

  1. Linters bug fixes
    • gci: fix standard packages list for go1.24

v1.64.3

Compare Source

  1. Linters bug fixes
    • ginkgolinter: from 0.18.4 to 0.19.0
    • go-critic: from 0.11.5 to 0.12.0
    • revive: from 1.6.0 to 1.6.1
    • gci: fix standard packages list for go1.24
  2. Misc.
    • Build Docker images with go1.24

v1.64.2

Compare Source

This is the last minor release of golangci-lint v1.
The next release will be golangci-lint v2.

  1. Enhancements
    • 🎉 go1.24 support
    • New issues.new-from-merge-base option
    • New run.relative-path-mode option
  2. Linters new features
    • copyloopvar: from 1.1.0 to 1.2.1 (support suggested fixes)
    • exptostd: from 0.3.1 to 0.4.1 (handles golang.org/x/exp/constraints.Ordered)
    • fatcontext: from 0.5.3 to 0.7.1 (new option: check-struct-pointers)
    • perfsprint: from 0.7.1 to 0.8.1 (new options: integer-format, error-format, string-format, bool-format, and hex-format)
    • revive: from 1.5.1 to 1.6.0 (new rules: redundant-build-tag, use-errors-new. New option early-return.early-return)
  3. Linters bug fixes
    • go-errorlint: from 1.7.0 to 1.7.1
    • gochecknoglobals: from 0.2.1 to 0.2.2
    • godox: from 006bad1 to 1.1.0
    • gosec: from 2.21.4 to 2.22.0
    • iface: from 1.3.0 to 1.3.1
    • nilnesserr: from 0.1.1 to 0.1.2
    • protogetter: from 0.3.8 to 0.3.9
    • sloglint: from 0.7.2 to 0.9.0
    • spancheck: fix default StartSpanMatchersSlice values
    • staticcheck: from 0.5.1 to 0.6.0
  4. Deprecations
    • ⚠️ tenv is deprecated and replaced by usetesting.os-setenv: true.
    • ⚠️ exportloopref deprecation step 2
  5. Misc.
    • Sanitize severities by output format
    • Avoid panic with plugin without description
  6. Documentation
    • Clarify depguard configuration

v1.64.1

Compare Source

Cancelled due to CI failure.

v1.64.0

Compare Source

Cancelled due to CI failure.

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, tagalign from format preset.
    • Enables paths with junction inside Windows.
    • The timeout is disabled if run.timeout <= 0.

v1.62.2

Compare Source

  1. Linters bug fixes
    • fatcontext: from 0.5.2 to 0.5.3
    • ginkgolinter: from 0.18.0 to 0.18.3
    • 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. Linters new features
    • ginkgolinter: from 0.17.0 to 0.18.0 (new option: force-succeed)
    • gochecksumtype: from 0.1.4 to 0.2.0 (new option: default-signifies-exhaustive)
    • loggercheck: from 0.9.4 to 0.10.1 (log/slog support)
    • nilnil: from 0.1.9 to 1.0.0 (new option: detect-opposite)
    • 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. Linters bug fixes
    • 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
    • gocritic: from 0.11.4 to 0.11.5
    • goprintffuncname: 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
    • musttag: from 0.12.2 to 0.13.0
    • nakedret: from 2.0.4 to 2.0.5
    • noctx: from 0.0.2 to 0.1.0
    • protogetter: from 0.3.6 to 0.3.8
  4. Deprecations
    • ⚠️ execinquery: deprecation step 2
    • ⚠️ gomnd: deprecation step 2 (replaced by mnd)
  5. Misc.
    • Type sizing when cross-compiling (32-bit).
    • code-climate: add check_name field
    • Improve Go version detection
    • Fix Go version propagation
  6. 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. Linters new features
    • gci: from 0.13.4 to 0.13.5 (new option no-lex-order)
    • nolintlint: remove the empty line in the directive replacement
  3. Linters bug fixes
    • dupword: from 0.0.14 to 0.1.1
    • fatcontext: from 0.4.0 to 0.5.2
    • 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
  4. Misc.
    • Improve runtime version parsing
  5. Documentation
    • Add additional info about typecheck

v1.60.3

Compare Source

  1. Updated linters
  2. Misc.
    • Check that the Go version use to build is greater or equals to the Go version of the project

v1.60.2

Compare Source

  1. Linters new features
  2. Linters bug fixes
    • gofmt: update to HEAD (go1.22)
    • gofumpt: from 0.6.0 to 0.7.0
    • gosec: fix G602 analyzer
    • staticcheck: from 0.5.0 to 0.5.1
    • staticcheck: propagate Go version
    • wrapcheck: from 2.8.3 to 2.9.0
  3. Deprecations
    • ⚠️ exportloopref: deprecation

v1.60.1

Compare Source

  1. Misc.
    • 🎉 go1.23 support
  2. Linters new features
    • exhaustruct: from 3.2.0 to 3.3.0 (recognize custom error values in return)
    • govet (printf): report non-constant format, no args
    • lll: advertise max line length instead of just reporting failure
    • revive: from 1.3.7 to 1.3.9 (new rule: comments-density)
    • staticcheck: from 0.4.7 to 0.5.0
    • testifylint: from 1.3.1 to 1.4.3 (new options: formatter, suite-broken-parallel, suite-subtest-run)
  3. Linters bug fixes
    • errorlint: from 1.5.2 to 1.6.0
    • fatcontext: from 0.2.2 to 0.4.0 (fix false positives for context stored in structs)
    • gocognit: from 1.1.2 to 1.1.3
    • gomodguard: from 1.3.2 to 1.3.3
    • sloglint: from 0.7.1 to 0.7.2
    • spancheck: from 0.6.1 to 0.6.2
    • tenv: from 1.7.1 to 1.10.0 (remove reports on fuzzing)
    • tparallel: from 0.3.1 to 0.3.2
    • usestdlibvars: from 1.26.0 to 1.27.0 (fix false-positive with number used inside a mathematical operations)
    • wsl: from 4.2.1 to 4.4.1
  4. Deprecations
    • ⚠️ unused: remove exported-is-used option
  5. Fixes
    • SARIF: sanitize level property
    • ⚠️ typecheck issues should never be ignored
  6. Documentation
    • Add link on linter without configuration
    • Remove 'trusted by' page
    • wsl update documentation of the configuration

v1.60.0

Compare Source

Cancelled due to a CI problem.

v1.59.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

  • f738736 build(deps): bump github.com/Antonboom/testifylint from 1.3.0 to 1.3.1 (#​4759)
  • 44b3cdd build(deps): bump github.com/go-viper/mapstructure/v2 from 2.0.0-alpha.1 to 2.0.0 (#​4788)
  • 1a55854 build(deps): bump github.com/golangci/misspell from 0.5.1 to 0.6.0 (#​4804)
  • 9a7a1ad build(deps): bump github.com/polyfloyd/go-errorlint from 1.5.1 to 1.5.2 (#​4785)
  • aaff918 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.25.0 to 1.26.0 (#​4801)
  • a0d2c83 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.4 to 3.24.5 (#​4782)
  • 2042b1f build(deps): bump go-simpler.org/sloglint from 0.7.0 to 0.7.1 (#​4784)
  • 327a78a build(deps): bump golang.org/x/tools from 0.21.0 to 0.22.0 (#​4802)
  • e1a8055 fix: SARIF format require issue column >= 1 (#​4775)
  • 88f60c8 fix: gomnd deprecated configuration compatibility (#​4768)
  • 8173166 fix: init empty result slice for SARIF printer (#​4758)
  • 02740ea intrange: add style preset (#​4797)
  • 615b873 unparam: bump to HEAD (#​4786)

v1.59.0

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

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

  • 7c87a9e build(deps): bump github.com/Antonboom/nilnil from 0.1.8 to 0.1.9 (#​4716)
  • 3fbc2f5 build(deps): bump github.com/fatih/color from 1.16.0 to 1.17.0 (#​4725)
  • 8fe47a9 build(deps): bump github.com/lasiar/canonicalheader from 1.0.6 to 1.1.1 (#​4715)
  • 8c4cfb6 build(deps): bump github.com/securego/gosec/v2 from 2.19.0 to 2.20.0 (#​4724)
  • 35eaf60 build(deps): bump go-simpler.org/musttag from 0.12.1 to 0.12.2 (#​4710)
  • 7f6606a build(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 (#​4722)

v1.58.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

  • dc28153 build(deps): bump github.com/4meepo/tagalign from 1.3.3 to 1.3.4 (#​4705)
  • 9116634 build(deps): bump github.com/ghostiam/protogetter from 0.3.5 to 0.3.6 (#​4707)
  • d64e1de build(deps): bump golang.org/x/tools from 0.20.0 to 0.21.0 (#​4706)
  • ee97dbf build(deps): bump golangci/golangci-lint-action from 5.1.0 to 5.3.0 (#​4701)
  • 4532eb9 fix: gochecknoinits shadow name (#​4698)
  • 6767d7c fix: remove GitHub Action problem matchers (#​4700)

v1.58.0

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.

Details
  • 7e2229a Add pre-commit hook to run config verify (#​4602)
  • b2df2f4 Add new linter canonicalheader (#​4672)
  • 95fc378 build(deps): bump github.com/Antonboom/errname from 0.1.12 to 0.1.13 (#​4669)
  • 4c3cc53 build(deps): bump github.com/Antonboom/nilnil from 0.1.7 to 0.1.8 (#​4668)
  • 2004f31 build(deps): bump github.com/butuzov/mirror from 1.1.0 to 1.2.0 (#​4610)
  • 4e56cba build(deps): bump github.com/ckaznocha/intrange from 0.1.1 to 0.1.2 (#​4601)
  • ed20557 build(deps): bump github.com/daixiang0/gci from 0.12.3 to 0.13.3 (#​4522)
  • dc51209 build(deps): bump github.com/daixiang0/gci from 0.13.3 to 0.13.4 (#​4611)
  • 8fb9856 build(deps): bump github.com/firefart/nonamedreturns from 1.0.4 to 1.0.5 (#​4666)
  • 8f59629 build(deps): bump github.com/go-critic/go-critic from 0.11.2 to 0.11.3 (#​4619)
  • 92cb311 build(deps): bump github.com/golangci/misspell from 0.4.1 to 0.5.1 (#​4665)
  • 3f37412 build(deps): bump github.com/golangci/revgrep from 0.5.2 to 0.5.3 (#​4633)
  • 1611bca build(deps): bump github.com/jjti/go-spancheck from 0.5.3 to 0.6.0 (#​4670)
  • e953689 build(deps): bump github.com/jjti/go-spancheck from 0.6.0 to 0.6.1 (#​4679)
  • 3f63db1 build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.10 to 1.1.0 (#​4632)
  • e4dae2a build(deps): bump github.com/lasiar/canonicalheader from 1.0.5 to 1.0.6 (#​4682)
  • 28f7c39 build(deps): bump github.com/leonklingele/grouper from 1.1.1 to 1.1.2 (#​4613)
  • 8e8ad83 build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 (#​4643)
  • 813af3e build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 (#​4688)
  • 24bcca2 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.8 to 1.5.1 (#​4690)
  • e12d070 build(deps): bump github.com/ryancurrah/gomodguard from 1.3.1 to 1.3.2 (#​4614)
  • b937c19 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.2 to 3.24.3 (#​4612)
  • fa1cca8 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.3 to 3.24.4 (#​4686)
  • d2d77af build(deps): bump github.com/ultraware/whitespace from 0.1.0 to 0.1.1 (#​4664)
  • 54bfac8 build(deps): bump github.com/yeya24/promlinter from 0.2.0 to 0.3.0 (#​4671)
  • 1eab03d build(deps): bump gitlab.com/bosi/decorder from 0.4.1 to 0.4.2 (#​4667)
  • 5e1e22f build(deps): bump go-simpler.org/musttag from 0.10.0 to 0.11.0 (#​4600)
  • 7f70763 build(deps): bump go-simpler.org/musttag from 0.11.0 to 0.12.0 (#​4621)
  • b7c1d1a build(deps): bump go-simpler.org/musttag from 0.12.0 to 0.12.1 (#​4626)
  • ad7eab9 build(deps): bump go-simpler.org/musttag from 0.9.0 to 0.10.0 (#​4579)
  • 40d4872 build(deps): bump go-simpler.org/sloglint from 0.5.0 to 0.5.1 (#​4644)
  • 7ea621b build(deps): bump go-simpler.org/sloglint from 0.5.1 to 0.6.0 (#​4645)
  • 1f46a11 build(deps): bump golang.org/x/tools from 0.19.0 to 0.20.0 (#​4620)
  • 87db2a3 build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 (#​4684)
  • 83a91b4 build(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#​4625)
  • b7c7a1d execinquery: deprecation (#​4652)
  • c00c1a5 feat: add fatcontext linter (#​4583)
  • 5a9f5c1 feat: deprecate usage of linter alternative names (#​4562)
  • a7868b3 feat: err113 analyzer name (#​4567)
  • 38fac89 feat: log an error when using previously deprecated linters (#​4681)
  • 288c847 feat: replace gomnd by mnd (#​4572)
  • 28b3813 feat: use problem matchers for GitHub Action format (#​4685)
  • a706941 fix: JSON schema about severities (#​4617)
  • c1f9f54 fix: don't hide typecheck errors inside diff processor (#​4674)
  • 44c070a fix: keep only typecheck issues (#​4640)
  • dac4ba3 fix: remove help display on error with verify command (#​4597)
  • 2b2fc8c fix: skip go.mod report inside autogenerated_exclude processor (#​4663)
  • 15c57c1 fix: speed up "fast" linters (#​4653)
  • 003b048 fix: use plugin version (#​4655)
  • 0260ec8 unparam: bump to HEAD (#​4689)

v1.57.2

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

  • 94a0179 build(deps): bump github.com/ckaznocha/intrange from 0.1.0 to 0.1.1 (#​4570)
  • 9558299 build(deps): bump github.com/jgautheron/goconst from 1.7.0 to 1.7.1 (#​4555)
  • b78225b build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.8 to 1.0.9 (#​4565)
  • 5a66842 build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.9 to 1.0.10 (#​4584)
  • afd670b build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.4 to 1.1.5 (#​4564)
  • 03acb64 build(deps): bump github.com/ldez/gomoddirectives from 0.2.3 to 0.2.4 (#​4580)
  • 4d2fa7b build(deps): bump github.com/nunnatsa/ginkgolinter from 0.16.1 to 0.16.2 (#​4569)
  • 66ec75e fix: display warnings on deprecated linter options (#​4568)
  • 77a8601 fix: hide useless warning (#​4587)
  • 3cff868 fix: missing output format (#​4574)
  • 5ae78cd fix: the TeamCity inspectionType service message (#​4573)

v1.57.1

Compare Source

golangci-lint is a free and open-source project, built by people in their free time.
Also, the linter authors are an important part of golangci-lint.
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

The most important changes are detailed here: https://golangci-lint.run/product/changelog/#v1571

Changelog

  • 87b6bf1 build(deps): bump github.com/golangci/plugin-module-register from 0.1.0 to 0.1.1 (#​4549)
  • 921d535 build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 (#​4548)
  • cd890db fix: filter invalid issues before other processors (#​4552)

v1.57.0

Compare Source

golangci-lint is a free and open-source project, built by people in their free time.
Also, the linter authors are an important part of golangci-lint.
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

The most important changes are detailed here: https://golangci-lint.run/product/changelog/#v1570

⚠️ Important ⚠️

  1. Deprecated linters are inactivated, you still need to disable them if you are using enable-all.
  2. Deprecated CLI flags (about linter settings and deadline) have been removed.

Changelog

  • 2bcc010 Revert "fix: deprecation message related to UseDefaultSkipDirs (#​4533)"
  • 571f2fc build(deps): bump github.com/Abirdcfly/dupword from 0.0.13 to 0.0.14 (#​4398)
  • 4ee10a2 build(deps): bump github.com/Antonboom/testifylint from 1.1.2 to 1.1.3 (#​4447)
  • 61f2f70 build(deps): bump github.com/Antonboom/testifylint from 1.1.3 to 1.2.0 (#​4449)
  • 02ea91d build(deps): bump github.com/alexkohler/nakedret/v2 from 2.0.2 to 2.0.4 (#​4540)
  • e5d2bc9 build(deps): bump github.com/catenacyber/perfsprint from 0.6.0 to 0.7.0 (#​4386)
  • 2443929 build(deps): bump github.com/catenacyber/perfsprint from 0.7.0 to 0.7.1 (#​4402)
  • b07bd18 build(deps): bump github.com/daixiang0/gci from 0.12.1 to 0.12.3 (#​4400)
  • 9c492af build(deps): bump github.com/daixiang0/gci from 0.12.3 to 0.13.0 (#​4429)
  • 17e736f build(deps): bump github.com/denis-tingaikin/go-headerfrom 0.4.3 to 0.5.0 (#​4396)
  • 584520c build(deps): bump github.com/ghostiam/protogetter from 0.3.4 to 0.3.5 (#​4539)
  • f6e2369 build(deps): bump github.com/go-critic/go-critic from 0.11.1 to 0.11.2 (#​4430)
  • addd06c build(deps): bump github.com/golangci/plugin-module-register to 0.1.0 (#​4510)
  • d06296e build(deps): bump github.com/golangci/unconvert to HEAD (#​4473)
  • 76ce09b build(deps): bump github.com/jjti/go-spancheck from 0.5.2 to 0.5.3 (#​4414)
  • df70758 build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.4 to 1.0.8 (#​4444)
  • f4e33e0 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.9 to 1.0.10 (#​4394)
  • f837070 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.15.2 to 0.16.0 (#​4530)
  • f2d4110 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.16.0 to 0.16.1 (#​4531)
  • 485cb6a build(deps): bump github.com/ryancurrah/gomodguard from 1.3.0 to 1.3.1 (#​4538)
  • d36c383 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.1 to 3.24.2 (#​4446)
  • b5c339f build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#​4448)
  • bcd015e build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.8.1 to 2.8.3 (#​4403)
  • ce27934 build(deps): bump go-simpler.org/musttag from 0.8.0 to 0.9.0 (#​4428)
  • 2c0a8ee build(deps): bump go-simpler.org/sloglint from 0.4.0 to 0.5.0 (#​4523)
  • 6628d21 build(deps): bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 in /scripts/gen_github_action_config (#​4464)
  • 603e568 build(deps): bump golang.org/x/tools from 0.18.0 to 0.19.0 (#​4462)
  • c6ac5a1 build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#​4503)
  • 4068bb7 build(deps): bump honnef.co/go/tools from 0.4.6 to 0.4.7 (#​4410)
  • 5cb1656 build(deps): downgrade github.com/daixiang0/gci from 0.13.0 to 0.12.3 (#​4484)
  • 98f0a9e chore: nancy
  • 51a963f chore: simplify comparators (#​4499)
  • 2417da1 feat: add copyloopvar linter (#​4382)
  • b96ff83 feat: add intrange linter (#​4378)
  • 0683d45 feat: add sort-order option (#​4467)
  • eaafdf3 feat: add verify command (#​4527)
  • 803970f feat: allow running only a specific linter without modifying the file configuration (#​4438)
  • b1eed50 feat: automatically adjust the maximum concurrency to the container CPU quota (#​4441)
  • d37a3e0 feat: create output directory (#​4524)
  • 64492b5 feat: disable copyloopvar and intrange on Go < 1.22 (#​4397)
  • cba35e1 feat: improve 'no go files to analyze' message (#​4536)
  • a087808 feat: inactivate deprecated linters (#​4436)
  • 167204c feat: new custom linters system (#​4437)
  • e3ed3ba feat: new output.formats file configuration syntax (#​4521)
  • 3d91352 feat: option to not override severity from linters (#​4452)
  • b05e397 feat: option to strictly follow Go autogenerated file convention (#​4507)
  • 39617e4 feat: rename exclude-autogenerated-strict to exclude-generated-strict (#​4514)
  • 4b7a55a feat: replace run.skip-xxx options by issues.exclude-xxx options (#​4509)
  • ec52d3c feat: syntax to not override severity from linters (#​4472)
  • 1cabafc feat: use gosec severities (#​4470)
  • bd47701 fix: deprecation message related to UseDefaultSkipDirs (#​4533)
  • ddc703d fix: disable temporarily httpresponse from govet (#​4528)
  • 8f2459b fix: move show-stats field from run to output (#​4439)
  • c902b8e fix: panic when concurrency=0 (#​4477)
  • 797d3bb fix: rule severity is required (#​4469)
  • 7e2840b fix: store and read severity from linters in the cache (#​4468)
  • 2413f68 fix: use GOTOOLCHAIN=auto inside the Docker images (#​4532)
  • 1b0dbb0 fix: use first issue without inline on mergeLineIssues on multiplie issues (#​3316)
  • c65868c gocritic: support of enable-all and disable-all options (#​4335)
  • 3dbe882 govet: add a warning about the deprecation of check-shadowing (#​4535)
  • 6914447 govet: fix check-shadowing (#​4534)
  • 2a2eebd install.sh: set executable bit for Unix ([#​4408](https://redirect.github.com/golangc

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.

@renovate renovate bot requested a review from a team as a code owner April 12, 2024 08:54
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.57.2 chore(deps): update module github.com/golangci/golangci-lint to v1.58.0 May 4, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from d6f5ebe to 2ac4d06 Compare May 4, 2024 11:40
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.58.0 chore(deps): update module github.com/golangci/golangci-lint to v1.58.1 May 8, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 2ac4d06 to 03e5e0c Compare May 8, 2024 23:53
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.58.1 chore(deps): update module github.com/golangci/golangci-lint to v1.58.2 May 23, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 03e5e0c to bbc6230 Compare May 23, 2024 02:25
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.58.2 chore(deps): update module github.com/golangci/golangci-lint to v1.59.0 May 27, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from bbc6230 to c238de5 Compare May 27, 2024 05:36
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.59.0 chore(deps): update module github.com/golangci/golangci-lint to v1.59.1 Jun 10, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from c238de5 to 7c786a2 Compare June 10, 2024 02:28
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 7c786a2 to 80a6fa0 Compare August 13, 2024 23:53
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.59.1 chore(deps): update module github.com/golangci/golangci-lint to v1.60.0 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 80a6fa0 to 4092247 Compare August 15, 2024 05:34
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.60.0 chore(deps): update module github.com/golangci/golangci-lint to v1.60.1 Aug 15, 2024
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.60.1 chore(deps): update module github.com/golangci/golangci-lint to v1.60.2 Aug 22, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch 2 times, most recently from 01d7295 to 0b715cb Compare August 24, 2024 00:01
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.60.2 chore(deps): update module github.com/golangci/golangci-lint to v1.60.3 Aug 24, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 0b715cb to da82646 Compare September 10, 2024 02:44
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.60.3 chore(deps): update module github.com/golangci/golangci-lint to v1.61.0 Sep 10, 2024
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.61.0 chore(deps): update module github.com/golangci/golangci-lint to v1.62.0 Nov 11, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from da82646 to 6185478 Compare November 11, 2024 08:51
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.62.0 chore(deps): update module github.com/golangci/golangci-lint to v1.62.2 Nov 25, 2024
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 6185478 to 0619806 Compare November 25, 2024 20:50
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.62.2 chore(deps): update module github.com/golangci/golangci-lint to v1.63.2 Jan 2, 2025
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 0619806 to 394aeec Compare January 2, 2025 14:33
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.63.2 chore(deps): update module github.com/golangci/golangci-lint to v1.63.3 Jan 3, 2025
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 394aeec to 2e59966 Compare January 3, 2025 02:53
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.63.3 chore(deps): update module github.com/golangci/golangci-lint to v1.63.4 Jan 4, 2025
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 2e59966 to a90cc41 Compare January 4, 2025 14:21
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from a90cc41 to 62e1f9d Compare February 15, 2025 04:02
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.63.4 chore(deps): update module github.com/golangci/golangci-lint to v1.64.5 Feb 15, 2025
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.64.5 chore(deps): update module github.com/golangci/golangci-lint to v1.64.5 - autoclosed Feb 20, 2025
@renovate renovate bot closed this Feb 20, 2025
@renovate renovate bot deleted the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch February 20, 2025 03:50
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.64.5 - autoclosed chore(deps): update module github.com/golangci/golangci-lint to v1.64.5 Feb 22, 2025
@renovate renovate bot reopened this Feb 22, 2025
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 62e1f9d to 330f686 Compare March 4, 2025 08:10
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.64.5 chore(deps): update module github.com/golangci/golangci-lint to v1.64.6 Mar 4, 2025
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 330f686 to 7133222 Compare March 12, 2025 23:39
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.64.6 chore(deps): update module github.com/golangci/golangci-lint to v1.64.7 Mar 12, 2025
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 7133222 to 75e01d2 Compare March 19, 2025 23:55
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.64.7 chore(deps): update module github.com/golangci/golangci-lint to v1.64.8 Mar 19, 2025
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.64.8 chore(deps): update module github.com/golangci/golangci-lint to v1.64.8 - autoclosed Apr 22, 2025
@renovate renovate bot closed this Apr 22, 2025
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.64.8 - autoclosed chore(deps): update module github.com/golangci/golangci-lint to v1.64.8 Apr 22, 2025
@renovate renovate bot reopened this Apr 22, 2025
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from f478935 to 75e01d2 Compare April 22, 2025 06:37
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch from 75e01d2 to 9449781 Compare October 21, 2025 17:00
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.64.8 chore(deps): update module github.com/golangci/golangci-lint to v1.64.8 - autoclosed Nov 4, 2025
@renovate renovate bot closed this Nov 4, 2025
@renovate renovate bot changed the title chore(deps): update module github.com/golangci/golangci-lint to v1.64.8 - autoclosed chore(deps): update module github.com/golangci/golangci-lint to v1.64.8 Nov 4, 2025
@renovate renovate bot reopened this Nov 4, 2025
@renovate renovate bot force-pushed the renovate/git.832008.xyz-golangci-golangci-lint-1.x branch 2 times, most recently from 9449781 to 8aa0026 Compare November 4, 2025 10:45
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.

1 participant