emissary-ingress / emissary

open source Kubernetes-native API gateway for microservices built on the Envoy Proxy
https://www.getambassador.io
Apache License 2.0
4.32k stars 683 forks source link

build(deps): bump github.com/golangci/golangci-lint from 1.56.1 to 1.58.0 in /tools/src/golangci-lint #5669

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps github.com/golangci/golangci-lint from 1.56.1 to 1.58.0.

Release notes

Sourced from github.com/golangci/golangci-lint's releases.

v1.58.0

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! :heart:

For key updates, see the changelog.

  • 7e2229aa Add pre-commit hook to run config verify (#4602)
  • b2df2f48 Add new linter canonicalheader (#4672)
  • 95fc378f build(deps): bump github.com/Antonboom/errname from 0.1.12 to 0.1.13 (#4669)
  • 4c3cc53f build(deps): bump github.com/Antonboom/nilnil from 0.1.7 to 0.1.8 (#4668)
  • 2004f31e build(deps): bump github.com/butuzov/mirror from 1.1.0 to 1.2.0 (#4610)
  • 4e56cba3 build(deps): bump github.com/ckaznocha/intrange from 0.1.1 to 0.1.2 (#4601)
  • ed205573 build(deps): bump github.com/daixiang0/gci from 0.12.3 to 0.13.3 (#4522)
  • dc512093 build(deps): bump github.com/daixiang0/gci from 0.13.3 to 0.13.4 (#4611)
  • 8fb9856e build(deps): bump github.com/firefart/nonamedreturns from 1.0.4 to 1.0.5 (#4666)
  • 8f59629b build(deps): bump github.com/go-critic/go-critic from 0.11.2 to 0.11.3 (#4619)
  • 92cb3118 build(deps): bump github.com/golangci/misspell from 0.4.1 to 0.5.1 (#4665)
  • 3f374122 build(deps): bump github.com/golangci/revgrep from 0.5.2 to 0.5.3 (#4633)
  • 1611bca2 build(deps): bump github.com/jjti/go-spancheck from 0.5.3 to 0.6.0 (#4670)
  • e9536898 build(deps): bump github.com/jjti/go-spancheck from 0.6.0 to 0.6.1 (#4679)
  • 3f63db13 build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.10 to 1.1.0 (#4632)
  • e4dae2a2 build(deps): bump github.com/lasiar/canonicalheader from 1.0.5 to 1.0.6 (#4682)
  • 28f7c396 build(deps): bump github.com/leonklingele/grouper from 1.1.1 to 1.1.2 (#4613)
  • 8e8ad836 build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 (#4643)
  • 813af3ef build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 (#4688)
  • 24bcca2e build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.8 to 1.5.1 (#4690)
  • e12d0708 build(deps): bump github.com/ryancurrah/gomodguard from 1.3.1 to 1.3.2 (#4614)
  • b937c196 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.2 to 3.24.3 (#4612)
  • fa1cca80 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.3 to 3.24.4 (#4686)
  • d2d77afe build(deps): bump github.com/ultraware/whitespace from 0.1.0 to 0.1.1 (#4664)
  • 54bfac8c build(deps): bump github.com/yeya24/promlinter from 0.2.0 to 0.3.0 (#4671)
  • 1eab03d6 build(deps): bump gitlab.com/bosi/decorder from 0.4.1 to 0.4.2 (#4667)
  • 5e1e22f4 build(deps): bump go-simpler.org/musttag from 0.10.0 to 0.11.0 (#4600)
  • 7f707636 build(deps): bump go-simpler.org/musttag from 0.11.0 to 0.12.0 (#4621)
  • b7c1d1a0 build(deps): bump go-simpler.org/musttag from 0.12.0 to 0.12.1 (#4626)
  • ad7eab96 build(deps): bump go-simpler.org/musttag from 0.9.0 to 0.10.0 (#4579)
  • 40d48727 build(deps): bump go-simpler.org/sloglint from 0.5.0 to 0.5.1 (#4644)
  • 7ea621b8 build(deps): bump go-simpler.org/sloglint from 0.5.1 to 0.6.0 (#4645)
  • 1f46a118 build(deps): bump golang.org/x/tools from 0.19.0 to 0.20.0 (#4620)
  • 87db2a33 build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 (#4684)
  • 83a91b47 build(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#4625)
  • b7c7a1d9 execinquery: deprecation (#4652)
  • c00c1a56 feat: add fatcontext linter (#4583)
  • 5a9f5c1f feat: deprecate usage of linter alternative names (#4562)
  • a7868b3e feat: err113 analyzer name (#4567)

... (truncated)

Changelog

Sourced from github.com/golangci/golangci-lint's changelog.

v1.58.0

  1. New linters
  2. Updated linters
    • copyloopvar: from 1.0.10 to 1.1.0 (ignore-alias is replaced by check-alias with the opposite behavior)
    • decorder: from 0.4.1 to 0.4.2
    • errname: from 0.1.12 to 0.1.13
    • errorlint: from 1.4.8 to 1.5.1 (new options allowed-errors and allowed-errors-wildcard)
    • execinquery: deprecate linter ⚠️
    • gci: from 0.12.3 to 0.13.4 (new section localModule)
    • gocritic: from 0.11.2 to 0.11.3
    • spancheck: from 0.5.3 to 0.6.1
    • goerr113 is replaced by err113 ⚠️
    • gomnd is replaced by mnd ⚠️
    • gomodguard: from 1.3.1 to 1.3.2
    • grouper: from 1.1.1 to 1.1.2
    • intrange: from 0.1.1 to 0.1.2
    • mirror: from 1.1.0 to 1.2.0
    • misspell: from 0.4.1 to 0.5.1
    • musttag: from 0.9.0 to 0.12.1
    • nilnil: from 0.1.7 to 0.1.8
    • nonamedreturns: from 1.0.4 to 1.0.5
    • promlinter: from 0.2.0 to 0.3.0
    • sloglint: from 0.5.0 to 0.6.0
    • unparam: bump to HEAD (063aff900ca150b80930c8de76f11d7e6488222f)
    • whitespace: from 0.1.0 to 0.1.1
  3. Enhancements
    • Speed up "fast" linters when only "fast" linters are run: between 40% and 80% faster at first run (i.e. without cache)
  4. Fixes
    • Use version with module plugins
    • Skip go.mod report inside autogenerated processor
    • Keep only typecheck issues when needed
    • Don't hide typecheck errors inside diff processor
  5. Misc.
    • ⚠️ log an error when using previously deprecated linters (Linter Deprecation Cycle)
      • deadcode: deprecated since v1.49.0 (2022-08-23).
      • exhaustivestruct: deprecated since v1.46.0 (2022-05-08).
      • golint: deprecated since v1.41.0 (2021-06-15).
      • ifshort: deprecated since v1.48.0 (2022-08-04).
      • interfacer: deprecated since v1.38.0 (2021-03-03).
      • maligned: deprecated since v1.38.0 (2021-03-03).
      • nosnakecase: deprecated since v1.48.0 (2022-08-04).
      • scopelint: deprecated since v1.39.0 (2021-03-25).
      • structcheck: deprecated since v1.49.0 (2022-08-23).
      • varcheck: deprecated since v1.49.0 (2022-08-23).
    • ⚠️ Deprecate usage of linter alternative names
    • Remove help display on errors with config verify command
    • Add pre-commit hook to run config verify

... (truncated)

Commits
  • 28b3813 feat: use problem matchers for GitHub Action format (#4685)
  • 24bcca2 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.8 to 1.5.1 (#4690)
  • 0260ec8 unparam: bump to HEAD (#4689)
  • 813af3e build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 (#4688)
  • fa1cca8 build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.3 to 3.24.4 (#4686)
  • 87db2a3 build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 (#4684)
  • 38fac89 feat: log an error when using previously deprecated linters (#4681)
  • e4dae2a build(deps): bump github.com/lasiar/canonicalheader from 1.0.5 to 1.0.6 (#4682)
  • dfde379 dev: clean deprecated options (#4673)
  • 55b2f5d dev: removes BaseRule, ExcludeRule, SeverityRule duplications (#4676)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 month ago

Superseded by #5682.