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

Update module github.com/golangci/golangci-lint to v1.59.1 - autoclosed #6

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 9, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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

v1.58.2

Compare Source

  1. Updated linters
    • canonicalheader: from 1.0.6 to 1.1.1
    • gosec: from 2.19.0 to 2.20.0
    • musttag: from 0.12.1 to 0.12.2
    • nilnil: from 0.1.8 to 0.1.9
  2. Documentation
    • Improve integrations and install pages

v1.58.1

Compare Source

v1.58.0

Compare Source

v1.57.2

Compare Source

v1.57.1

Compare Source

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

v1.56.2

Compare Source

  1. updated linters
    • go-critic: from 0.11.0 to 0.11.1
    • gosec: from 2.18.2 to 2.19.0
    • testifylint: from 1.1.1 to 1.1.2
    • usestdlibvars: from 1.24.0 to 1.25.0
    • wsl: from 4.2.0 to 4.2.1
  2. misc.
    • Fix missing version in Docker image
  3. Documentation
    • Explain the limitation of new-from-rev and new-from-patch

v1.56.1

Compare Source

  1. updated linters
    • errcheck: from 1.6.3 to 1.7.0
    • govet: disable loopclosure with go1.22
    • revive: from 1.3.6 to 1.3.7
    • testifylint: from 1.1.0 to 1.1.1

v1.56.0

Compare Source

  1. new linters
  2. updated linters
    • depguard: from 2.1.0 to 2.2.0
    • exhaustive: from 0.11.0 to 0.12.0
    • exhaustruct: from 3.1.0 to 3.2.0
    • gci: from 0.11.2 to 0.12.1
    • ginkgolinter: from 0.14.1 to 0.15.2
    • go-check-sumtype: from 0.1.3 to 0.1.4
    • go-critic: from 0.9.0 to 0.11.0
    • go-errorlint: from 1.4.5 to 1.4.8
    • go-spancheck: from 0.4.2 to 0.5.2
    • goconst: from 1.6.0 to 1.7.0
    • godot: from 1.4.15 to 1.4.16
    • gofumpt: from 0.5.0 to 0.6.0
    • inamedparam: from 0.1.2 to 0.1.3
    • ineffassign: from 0.0.0-20230610083614-0e73809eb601 to 0.1.0
    • ireturn: from 0.2.2 to 0.3.0
    • misspell: add mode option
    • musttag: from v0.7.2 to v0.8.0
    • paralleltest: from 1.0.8 to 1.0.9
    • perfsprint: from 0.2.0 to 0.6.0
    • protogetter: from 0.2.3 to 0.3.4
    • revive: from 1.3.4 to 1.3.6
    • sloglint: add static-msg option
    • sloglint: from 0.1.2 to 0.4.0
    • testifylint: from 0.2.3 to 1.1.0
    • unparam: from 2022122-7455f1af531d to 2024010-c549a3470d14
    • whitespace: update after moving to the analysis package
    • wsl: from 3.4.0 to 4.2.0
    • zerologlint: from 0.1.3 to 0.1.5
  3. misc.
    • 🎉 go1.22 support
    • Implement stats per linter with a flag
    • Make versioning inside Docker image consistent with binaries
    • Parse Go RC version
  4. Documentation
    • Fix noctx description
    • Add missing fields to .golangci.reference.yml
    • Improve .golangci.reference.yml defaults
    • typecheck: improve FAQ
    • exhaustruct: note that struct regular expressions are expected to match the entire package/name/structname
    • wrapcheck: adjust ignoreSigs to new defaults

Important

testifylint has breaking changes about enabling/disabling checks:

  • If you were using the option enable with a filtered list of checks, you should either add disable-all: true (1) or use disable field (2).

Example (1)

  testifylint:
    disable-all: true
    enable:
      - bool-compare
      - compares
      - empty
      - error-is-as
      - error-nil
      - expected-actual
      - go-require
      - float-compare
      - len
      - nil-compare
      - require-error

- suite-dont-use-pkg

      - suite-extra-assert-call
      - suite-thelper
```

```yml

Example (2)

  testifylint:
    disable:
      - suite-dont-use-pkg
```

v1.55.2

Compare Source

  1. updated linters
    • ireturn: from 0.2.1 to 0.2.2
    • ginkgolinter: from 0.14.0 to 0.14.1

v1.55.1

Compare Source

  1. updated linters
    • gosec: from 2.18.1 to 2.18.2
  2. misc.
    • revgrep: from v0.5.0 to v0.5.2 (support git < 2.41.0)
    • output: convert backslashes to forward slashes for GitHub Action annotations printer

v1.55.0

Compare Source

  1. new linters
  2. updated linters
    • bidichk: from 0.2.4 to 0.2.7
    • decorder: from 0.4.0 to 0.4.1
    • dupword: from 0.0.12 to 0.0.13
    • errchkjson: from 0.3.1 to 0.3.6
    • gci: from 0.11.0 to 0.11.2
    • ginkgolinter: from 0.13.5 to 0.14.0
    • go-errorlint: from 1.4.4 to 1.4.5
    • gocognit: from 1.0.7 to 1.1.0
    • goconst: from 1.5.1 to 1.6.0
    • godot: from 1.4.14 to 1.4.15
    • gofmt: update to HEAD
    • goimports: update to HEAD
    • gosec: from 2.17.0 to 2.18.1
    • gosmopolitan: from 1.2.1 to 1.2.2
    • govet: add appends analyzer
    • ireturn: from 0.2.0 to 0.2.1
    • protogetter: from 0.2.2 to 0.2.3
    • revgrep: from 745bb2f to v0.5.0
    • revive: from 1.3.2 to 1.3.4
    • sqlclosecheck: from 0.4.0 to 0.5.1
    • staticcheck: from 0.4.5 to 0.4.6
    • tagalign: from 1.3.2 to 1.3.3
    • unused: support passing in options
  3. misc.
    • Add a pre-commit hook to check all files
  4. Documentation
    • add source options to exclude-rules docs
    • gosec: add G602 to includes/excludes inside .golangci.reference.yml

v1.54.2

Compare Source

  1. updated linters:
    • errname: from 0.1.10 to 0.1.12
    • ginkgolinter: from 0.13.3 to 0.13.5
    • go-errorlint: from 1.4.3 to 1.4.4
    • godot: from 1.4.11 to 1.4.14
    • gosec: from 2.16.0 to 2.17.0
    • musttag: from 0.7.1 to 0.7.2
    • nilnil: from 0.1.5 to 0.1.7
    • staticcheck: from 0.4.3 to 0.4.5
    • usestdlibvars: from 1.23.0 to 1.24.0
    • govet: add missing directive and slog passes

v1.54.1

Compare Source

  1. updated linters:
    • go-critic: from 0.8.2 to 0.9.0
  2. misc.
    • plugin: temporarily hide warning about using plugins using the old API

v1.54.0

Compare Source

  1. updated linters:
    • decorder: from 0.2.3 to 0.4.0
    • dupword: from 0.0.11 to 0.0.12
    • errorlint: from 1.4.2 to 1.4.3
    • exhaustruct: from 2.3.0 to 3.1.0
    • forbidigo: from 1.5.3 to 1.6.0
    • funlen: from 0.0.3 to 0.1.0
    • gci: from 0.10.1 to 0.11.0
    • ginkgolinter: from 0.12.1 to 0.13.3
    • go-critic: from 0.8.1 to 0.8.2
    • go-errorlint: from 1.4.2 to 1.4.3
    • go-exhaustruct: from 2.3.0 to 3.1.0
    • gocognit: from 1.0.6 to 1.0.7
    • gocritic: from 0.8.1 to 0.8.2
    • gofmt: autofix missing newline at EOF
    • misspell: 0.4.0 to 0.4.1
    • musttag: from 0.7.0 to 0.7.1
    • paralleltest: from 1.0.7 to 1.0.8
    • tagalign: from 1.2.2 to 1.3.2
    • typecheck: explain it and remove it from the linter list
    • zerologlint: from 0.1.2 to 0.1.3
  2. misc.
    • 🎉 go1.21 support
    • plugin: include custom linters in enable-all
    • plugin: allow to use settings for plugins
  3. Documentation
    • Add linter descriptions.

Important

ruleguard (a "rule" inside gocritic) was disabled in this release (v1.54.0) and was enabled again in the next release (v1.54.1).

exhaustruct has breaking changes with regular expressions, more details here.


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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.54.0 Update module github.com/golangci/golangci-lint to v1.54.1 Aug 11, 2023
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 67a016a to 57d9276 Compare August 11, 2023 17:34
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.54.1 Update module github.com/golangci/golangci-lint to v1.54.2 Aug 21, 2023
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 57d9276 to 70dafe2 Compare August 21, 2023 13:01
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.54.2 Update module github.com/golangci/golangci-lint to v1.55.0 Oct 20, 2023
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 70dafe2 to 1f5d943 Compare October 20, 2023 14:32
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.55.0 Update module github.com/golangci/golangci-lint to v1.55.0 - autoclosed Oct 23, 2023
@renovate renovate bot closed this Oct 23, 2023
@renovate renovate bot deleted the renovate/github.com-golangci-golangci-lint-1.x branch October 23, 2023 10:46
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.55.0 - autoclosed Update module github.com/golangci/golangci-lint to v1.55.0 Oct 23, 2023
@renovate renovate bot reopened this Oct 23, 2023
@renovate renovate bot restored the renovate/github.com-golangci-golangci-lint-1.x branch October 23, 2023 14:26
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 1f5d943 to d90339c Compare October 23, 2023 14:27
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.55.0 Update module github.com/golangci/golangci-lint to v1.55.1 Oct 25, 2023
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from d90339c to 1a49b23 Compare October 25, 2023 13:17
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.55.1 Update module github.com/golangci/golangci-lint to v1.55.2 Nov 3, 2023
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 1a49b23 to 7c71929 Compare November 3, 2023 17:25
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.55.2 Update module github.com/golangci/golangci-lint to v1.56.0 Feb 7, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 7c71929 to 61a7ca5 Compare February 7, 2024 15:14
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.56.0 Update module github.com/golangci/golangci-lint to v1.56.1 Feb 8, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch 2 times, most recently from 17d0d6e to f8441b2 Compare February 15, 2024 19:47
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.56.1 Update module github.com/golangci/golangci-lint to v1.56.2 Feb 15, 2024
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.56.2 Update module github.com/golangci/golangci-lint to v1.57.0 Mar 20, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from f8441b2 to 79febbf Compare March 20, 2024 00:18
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.57.0 Update module github.com/golangci/golangci-lint to v1.57.1 Mar 20, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 79febbf to 361073d Compare March 20, 2024 17:59
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.57.1 Update module github.com/golangci/golangci-lint to v1.57.1 - autoclosed Mar 28, 2024
@renovate renovate bot closed this Mar 28, 2024
@renovate renovate bot deleted the renovate/github.com-golangci-golangci-lint-1.x branch March 28, 2024 11:56
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.57.1 - autoclosed Update module github.com/golangci/golangci-lint to v1.57.1 Mar 28, 2024
@renovate renovate bot reopened this Mar 28, 2024
@renovate renovate bot restored the renovate/github.com-golangci-golangci-lint-1.x branch March 28, 2024 14:06
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 361073d to b459a1f Compare March 28, 2024 14:06
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.57.1 Update module github.com/golangci/golangci-lint to v1.57.2 Mar 28, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from b459a1f to 6195c56 Compare March 28, 2024 20:33
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 6195c56 to c390167 Compare April 14, 2024 09:02
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.57.2 Update module github.com/golangci/golangci-lint to v1.58.0 May 3, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch 4 times, most recently from 5bf66df to 3f700ec Compare May 6, 2024 15:10
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.58.0 Update module github.com/golangci/golangci-lint to v1.58.1 May 8, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 3f700ec to 6aa3943 Compare May 8, 2024 22:24
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 6aa3943 to 631c1a6 Compare May 19, 2024 18:48
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.58.1 Update module github.com/golangci/golangci-lint to v1.58.2 May 19, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 631c1a6 to b05e361 Compare May 26, 2024 22:18
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.58.2 Update module github.com/golangci/golangci-lint to v1.59.0 May 26, 2024
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from b05e361 to 1947d1f Compare June 9, 2024 19:21
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.59.0 Update module github.com/golangci/golangci-lint to v1.59.1 Jun 9, 2024
Copy link
Contributor Author

renovate bot commented Jun 9, 2024

ℹ Artifact update notice

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

  • 66 additional dependencies were updated

Details:

Package Change
github.com/stretchr/testify v1.8.4 -> v1.9.0
github.com/4meepo/tagalign v1.2.2 -> v1.3.4
github.com/Abirdcfly/dupword v0.0.11 -> v0.0.14
github.com/Antonboom/errname v0.1.10 -> v0.1.13
github.com/Antonboom/nilnil v0.1.5 -> v0.1.9
github.com/BurntSushi/toml v1.3.2 -> v1.4.0
github.com/OpenPeeDeeP/depguard/v2 v2.1.0 -> v2.2.0
github.com/alexkohler/nakedret/v2 v2.0.2 -> v2.0.4
github.com/ashanbrown/forbidigo v1.5.3 -> v1.6.0
github.com/breml/bidichk v0.2.4 -> v0.2.7
github.com/breml/errchkjson v0.3.1 -> v0.3.6
github.com/butuzov/ireturn v0.2.0 -> v0.3.0
github.com/butuzov/mirror v1.1.0 -> v1.2.0
github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8 -> v0.1.0
github.com/daixiang0/gci v0.10.1 -> v0.13.4
github.com/denis-tingaikin/go-header v0.4.3 -> v0.5.0
github.com/ettle/strcase v0.1.1 -> v0.2.0
github.com/fatih/color v1.15.0 -> v1.17.0
github.com/firefart/nonamedreturns v1.0.4 -> v1.0.5
github.com/go-critic/go-critic v0.8.1 -> v0.11.4
github.com/go-toolsmith/astequal v1.1.0 -> v1.2.0
github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2 -> v0.0.0-20231018234816-f50ced29576e
github.com/golangci/misspell v0.4.0 -> v0.6.0
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 -> v0.5.3
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 -> v0.0.0-20240309020433-c5143eacb3ed
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601 -> v0.1.0
github.com/hashicorp/go-version v1.6.0 -> v1.7.0
github.com/jgautheron/goconst v1.5.1 -> v1.7.1
github.com/kisielk/errcheck v1.6.3 -> v1.7.0
github.com/kkHAIKE/contextcheck v1.1.4 -> v1.1.5
github.com/kunwardeep/paralleltest v1.0.7 -> v1.0.10
github.com/ldez/gomoddirectives v0.2.3 -> v0.2.4
github.com/leonklingele/grouper v1.1.1 -> v1.1.2
github.com/mattn/go-isatty v0.0.17 -> v0.0.20
github.com/mgechev/revive v1.3.2 -> v1.3.7
github.com/nishanths/exhaustive v0.11.0 -> v0.12.0
github.com/nunnatsa/ginkgolinter v0.12.1 -> v0.16.2
github.com/pelletier/go-toml/v2 v2.0.5 -> v2.2.2
github.com/polyfloyd/go-errorlint v1.4.2 -> v1.5.2
github.com/quasilyte/go-ruleguard v0.3.19 -> v0.4.2
github.com/ryancurrah/gomodguard v1.3.0 -> v1.3.2
github.com/ryanrolds/sqlclosecheck v0.4.0 -> v0.5.1
github.com/sashamelentyev/usestdlibvars v1.23.0 -> v1.26.0
github.com/securego/gosec/v2 v2.16.0 -> v2.20.1-0.20240525090044-5f0084eb01a9
github.com/spf13/afero v1.8.2 -> v1.11.0
github.com/stretchr/objx v0.5.0 -> v0.5.2
github.com/tetafro/godot v1.4.11 -> v1.4.16
github.com/tomarrell/wrapcheck/v2 v2.8.1 -> v2.8.3
github.com/ultraware/funlen v0.0.3 -> v0.1.0
github.com/ultraware/whitespace v0.0.5 -> v0.1.1
github.com/uudashr/gocognit v1.0.6 -> v1.1.2
github.com/xen0n/gosmopolitan v1.2.1 -> v1.2.2
github.com/yeya24/promlinter v0.2.0 -> v0.3.0
github.com/ykadowak/zerologlint v0.1.2 -> v0.1.5
gitlab.com/bosi/decorder v0.2.3 -> v0.4.2
golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea -> v0.0.0-20240103183307-be819d1f06fc
golang.org/x/exp/typeparams v0.0.0-20230224173230-c95f2b4c22f2 -> v0.0.0-20240314144324-c7f7c6466f7f
golang.org/x/mod v0.14.0 -> v0.18.0
golang.org/x/net v0.19.0 -> v0.26.0
golang.org/x/sync v0.5.0 -> v0.7.0
golang.org/x/sys v0.15.0 -> v0.21.0
golang.org/x/text v0.14.0 -> v0.16.0
golang.org/x/tools v0.16.1 -> v0.22.0
honnef.co/go/tools v0.4.3 -> v0.4.7
mvdan.cc/gofumpt v0.5.0 -> v0.6.0
mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d -> v0.0.0-20240528143540-8a5130ca722f

@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 1947d1f to 3b2b7a7 Compare June 10, 2024 10:13
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint to v1.59.1 Update module github.com/golangci/golangci-lint to v1.59.1 - autoclosed Jun 10, 2024
@renovate renovate bot closed this Jun 10, 2024
@renovate renovate bot deleted the renovate/github.com-golangci-golangci-lint-1.x branch June 10, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants