Skip to content

Releases: golangci/golangci-lint

v1.55.2

03 Nov 13:27
e3c2265
Compare
Choose a tag to compare

If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Changelog

  • 02b6600 build(deps): bump github.com/butuzov/ireturn from 0.2.1 to 0.2.2 (#4178)
  • 5a0f059 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.14.0 to 0.14.1 (#4171)
  • e3c2265 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.9 to 3.23.10 (#4177)

v1.55.1

25 Oct 10:25
9b20d49
Compare
Choose a tag to compare

If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Changelog

  • 3d58209 build(deps): bump actions/setup-node from 3 to 4 (#4155)
  • 5c19d1d build(deps): bump github.com/golangci/revgrep from v0.5.0 to v0.5.2 (#4154)
  • 4068be1 build(deps): bump github.com/securego/gosec/v2 from 2.18.1 to 2.18.2 (#4153)
  • 9b20d49 output: convert backslashes to forward slashes for GitHub Action annotations printer (#4149)

v1.55.0

20 Oct 11:55
de1c391
Compare
Choose a tag to compare

If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Changelog

  • 4b188db Add "inamedparam": checks for interface method with unnamed params (#3793)
  • 2d5d29f Add testifylint linter (#4103)
  • 3c34799 Add a pre-commit hook to check all files (#4046)
  • de1c391 Add perfsprint linter (#3714)
  • 8c178d3 add protogetter linter (#4069)
  • c65ab4b build(deps): bump actions/checkout from 3 to 4 (#4065)
  • b74ffbb build(deps): bump docker/build-push-action from 4 to 5 (#4094)
  • b974c30 build(deps): bump docker/setup-buildx-action from 2 to 3 (#4093)
  • 47d7785 build(deps): bump docker/setup-qemu-action from 2 to 3 (#4095)
  • cf93cf5 build(deps): bump github.com/4meepo/tagalign from 1.3.2 to 1.3.3 (#4143)
  • 95edd30 build(deps): bump github.com/Abirdcfly/dupword from 0.0.12 to 0.0.13 (#4104)
  • 5b40213 build(deps): bump github.com/breml/bidichk from 0.2.4 to 0.2.6 (#4044)
  • c6eae6c build(deps): bump github.com/breml/bidichk from 0.2.6 to 0.2.7 (#4101)
  • f4b0ca7 build(deps): bump github.com/breml/errchkjson from 0.3.1 to 0.3.5 (#4042)
  • c9956e8 build(deps): bump github.com/breml/errchkjson from 0.3.5 to 0.3.6 (#4102)
  • 64e382b build(deps): bump github.com/butuzov/ireturn from 0.2.0 to 0.2.1 (#4142)
  • cc02271 build(deps): bump github.com/daixiang0/gci from 0.11.0 to 0.11.1 (#4068)
  • 615a52b build(deps): bump github.com/daixiang0/gci from 0.11.1 to 0.11.2 (#4090)
  • 0605100 build(deps): bump github.com/ghostiam/protogetter from 0.2.2 to 0.2.3 (#4130)
  • f18d712 build(deps): bump github.com/golangci/revgrep from 745bb2f7c2e6 to v0.5.0 (#4064)
  • a69976a build(deps): bump github.com/jgautheron/goconst from 1.5.1 to 1.6.0 (#4055)
  • 663d002 build(deps): bump github.com/mgechev/revive from 1.3.2 to 1.3.3 (#4043)
  • eeb2088 build(deps): bump github.com/mgechev/revive from 1.3.3 to 1.3.4 (#4087)
  • 0e82ef5 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.13.5 to 0.14.0 (#4117)
  • 452410c build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.4 to 1.4.5 (#4078)
  • b673fb7 build(deps): bump github.com/ryanrolds/sqlclosecheck from 0.4.0 to 0.5.1 (#4071)
  • 823f02d build(deps): bump github.com/securego/gosec/v2 from 2.17.0 to 2.18.0 (#4120)
  • e96af3a build(deps): bump github.com/securego/gosec/v2 from 2.18.0 to 2.18.1 (#4131)
  • 2858394 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.7 to 3.23.8 (#4063)
  • 1af49e3 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.8 to 3.23.9 (#4111)
  • 22c6434 build(deps): bump github.com/tetafro/godot from 1.4.14 to 1.4.15 (#4077)
  • 0946f2c build(deps): bump github.com/uudashr/gocognit from 1.0.7 to 1.1.1 (#4129)
  • 904cec8 build(deps): bump github.com/uudashr/gocognit from 1.1.0 to 1.1.2 (#4145)
  • ffb9608 build(deps): bump github.com/uudashr/gocognit from 1.1.1 to 1.1.0 (#4144)
  • 865b93a build(deps): bump github.com/xen0n/gosmopolitan from 1.2.1 to 1.2.2 (#4070)
  • 4b72aa5 build(deps): bump gitlab.com/bosi/decorder from 0.4.0 to 0.4.1 (#4056)
  • 4b83e50 build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /tools (#4124)
  • 6cd1bfd build(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 in /scripts/gen_github_action_config (#4125)
  • efb52af build(deps): bump golang.org/x/oauth2 from 0.11.0 to 0.12.0 in /scripts/gen_github_action_config (#4079)
  • 2b73b3a build(deps): bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 in /scripts/gen_github_action_config (#4122)
  • 28d88a1 build(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0 (#4066)
  • dd58dd5 build(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 (#4119)
  • 75b6a08 build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 (#4036)
  • fd06dca build(deps): bump goreleaser/goreleaser-action from 4 to 5 (#4080)
  • 41bfce9 build(deps): bump honnef.co/go/tools from 0.4.5 to 0.4.6 (#4083)
  • 69d6cc9 feat: add gochecksumtype linter (#3671)
  • 39c5fd1 feat: add sloglint linter (#4133)
  • 3d8ae00 feat: update gofmt and goimports (#4115)
  • 4254fad fix: update gofmt (#4141)
  • 6491317 govet: add appends analyzer (#4127)
  • bce3dfd unused: support passing in options (#4086)

v1.54.2

21 Aug 12:25
411e0bb
Compare
Choose a tag to compare

If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). ❤️

Changelog

  • 07fb6ff build(deps): bump github.com/Antonboom/errname from 0.1.10 to 0.1.12 (#4026)
  • 2de4bc6 build(deps): bump github.com/Antonboom/nilnil from 0.1.5 to 0.1.7 (#4024)
  • 8000aba build(deps): bump github.com/nunnatsa/ginkgolinter from 0.13.3 to 0.13.5 (#4019)
  • ac0627d build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.3 to 1.4.4 (#4030)
  • f787bc7 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.23.0 to 1.24.0 (#4016)
  • fb50d99 build(deps): bump github.com/securego/gosec/v2 from 2.16.0 to 2.17.0 (#4015)
  • 2741ab2 build(deps): bump github.com/tetafro/godot from 1.4.11 to 1.4.14 (#4029)
  • be49b5a build(deps): bump go.tmz.dev/musttag from 0.7.1 to 0.7.2 (#4017)
  • 3736e09 build(deps): bump honnef.co/go/tools from 0.4.3 to 0.4.4 (#4018)
  • 3db5817 build(deps): bump honnef.co/go/tools from 0.4.4 to 0.4.5 (#4022)
  • 411e0bb fix: add all directories as safe git directories inside the Docker image (#4034)
  • a5eaf9f govet: add directive and slog passes (#4028)

v1.54.1

11 Aug 13:16
a9378d9
Compare
Choose a tag to compare

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 linters authors). ❤️

Changelog

  • 9fc1e20 build(deps): bump github.com/go-critic/go-critic from 0.8.2 to 0.9.0 (#4000)
  • ea4481a build(deps): bump github.com/quasilyte/go-ruleguard from v0.3.19 to v0.4.0 (#3999)
  • a9378d9 plugin: temporarily hide warning about using plugins using the old API (#4002)

v1.54.0

09 Aug 12:11
c1d8c56
Compare
Choose a tag to compare

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 linters authors). ❤️

Changelog

  • ffe688c build(deps): bump github.com/4meepo/tagalign from 1.2.2 to 1.3.1 (#3979)
  • e555470 build(deps): bump github.com/4meepo/tagalign from 1.3.1 to 1.3.2 (#3980)
  • 68b4988 build(deps): bump github.com/Abirdcfly/dupword from 0.0.11 to 0.0.12 (#3944)
  • d58342f build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v3 from 2.3.0 to 3.1.0 (#3963)
  • 6e31512 build(deps): bump github.com/ashanbrown/forbidigo from 1.5.3 to 1.6.0 (#3942)
  • c37828a build(deps): bump github.com/daixiang0/gci from 0.10.1 to 0.11.0 (#3994)
  • 78462c2 build(deps): bump github.com/go-critic/go-critic from 0.8.1 to 0.8.2 (#3978)
  • cecd497 build(deps): bump github.com/golangci/misspell 0.4.0 to 0.4.1 (#3918)
  • 1c67f59 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.7 to 1.0.8 (#3985)
  • fc5a8f9 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.12.1 to 0.12.2 (#3937)
  • 91afddc build(deps): bump github.com/nunnatsa/ginkgolinter from 0.12.2 to 0.13.0 (#3962)
  • 52793e7 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.13.0 to 0.13.3 (#3972)
  • 0f31e51 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.2 to 1.4.3 (#3935)
  • c406ca5 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.5 to 3.23.6 (#3936)
  • 1a32d40 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.7 (#3989)
  • 2c0224f build(deps): bump github.com/ultraware/funlen from 0.0.3 to 0.1.0 (#3988)
  • 67dd65f build(deps): bump github.com/uudashr/gocognit from 1.0.6 to 1.0.7 (#3961)
  • bbcabb7 build(deps): bump github.com/ykadowak/zerologlint from 0.1.2 to 0.1.3 (#3923)
  • 17f6fcc build(deps): bump gitlab.com/bosi/decorder from 0.2.3 to 0.4.0 (#3959)
  • a303529 build(deps): bump go.tmz.dev/musttag from 0.7.0 to 0.7.1 (#3924)
  • a6caf8b build(deps): bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 in /scripts/gen_github_action_config (#3991)
  • 043c368 build(deps): bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 in /scripts/gen_github_action_config (#3920)
  • a56dfe8 build(deps): bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 in /scripts/gen_github_action_config (#3946)
  • 6b7a964 build(deps): bump golang.org/x/tools from 0.10.0 to 0.11.0 (#3943)
  • 29f9717 build(deps): bump golang.org/x/tools from 0.11.1 to 0.12.0 (#3992)
  • 7cf30e7 build(deps): bump golang.org/x/tools from 0.9.3 to 0.10.0 (#3914)
  • 494bb07 build(deps): bump semver from 5.7.0 to 5.7.2 in /tools (#3948)
  • e3ff6e7 build(deps): bump semver from 5.7.1 to 5.7.2 in /.github/contributors (#3947)
  • 9d32f6e chore: fix nancy
  • 79c78d6 feat: explain typecheck and remove it from the linter list (#3929)
  • 6c7aba6 fix: include custom linters in enable-all (#3911)
  • c1d8c56 fix: trim Go version (#3995)
  • e0a8bd8 go1.21 support (#3922)
  • 28f0560 gofmt: autofix missing newline at EOF (#3917)
  • 25c2b07 plugin: allow to use settings for plugins (#3887)

v1.53.3

15 Jun 11:11
2dcd82f
Compare
Choose a tag to compare

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 linters authors). ❤️

Changelog

  • 2dcd82f Add support for generating illumos/amd64 targeted builds (#3907)
  • d360871 build(deps): bump actions/setup-go from 3 to 4 (#3902)
  • 0112521 build(deps): bump github.com/BurntSushi/toml from 1.3.0 to 1.3.2 (#3899)
  • c2ccfe6 build(deps): bump github.com/alexkohler/nakedret/v2 from 2.0.1 to 2.0.2 (#3905)
  • d6f3d71 build(deps): bump github.com/ashanbrown/forbidigo from 1.5.1 to 1.5.3 (#3904)
  • 70c1e77 build(deps): bump github.com/bkielbasa/cyclop from 1.2.0 to 1.2.1 (#3888)
  • ef90973 build(deps): bump github.com/nishanths/exhaustive from 0.10.0 to 0.11.0 (#3900)
  • 829af92 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.12.2 to 0.12.1 (#3892)
  • c9d759e build(deps): bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 (#3886)
  • 92f8abd build(deps): bump github.com/ykadowak/zerologlint from 0.1.1 to 0.1.2 (#3889)
  • dfbc86c build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 (#3890)
  • 98b95a9 build(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 (#3903)
  • 8c519af codeclimate: less memory allocation (#3882)
  • 4f4362c ineffassign: bump to HEAD (#3898)

v1.53.2

03 Jun 15:24
59a7aaf
Compare
Choose a tag to compare

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 linters authors). ❤️

https://golangci-lint.run/product/thanks/

Changelog

  • 59a7aaf build(deps): bump github.com/OpenPeeDeeP/depguard/v2 from v2.0.1 to 2.1.0 (#3883)
  • 62d1913 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.4 to 3.23.5 (#3875)
  • f6c61a5 build(deps): bump golang.org/x/tools from 0.9.2 to 0.9.3 (#3874)
  • 68be5ba depguard: throw error only when the linter is called (#3880)

v1.53.1

02 Jun 09:24
e524332
Compare
Choose a tag to compare

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 linters authors). ❤️

https://golangci-lint.run/product/thanks/

Changelog

  • dd7c3d1 depguard: fix GOROOT detection (#3866)
  • e524332 importas: fix duplication detection when aliases use regular expression replacement pattern (#3869)

v1.53.0

01 Jun 20:03
9f2528a
Compare
Choose a tag to compare

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 linters authors). ❤️

https://golangci-lint.run/product/thanks/

Changelog

  • 8674597 add linter zerologlint (#3726)
  • 0b57096 add loongarch64 to the install script (#3741)
  • 134f2e0 add tagalign linter (#3709)
  • 7d4d898 bodyclose: bump to HEAD (#3792)
  • 90cec26 build(deps): bump github.com/Antonboom/errname from 0.1.9 to 0.1.10 (#3834)
  • a178667 build(deps): bump github.com/Antonboom/nilnil from 0.1.3 to 0.1.4 (#3755)
  • f087117 build(deps): bump github.com/Antonboom/nilnil from 0.1.4 to 0.1.5 (#3836)
  • 13de250 build(deps): bump github.com/BurntSushi/toml from 1.2.1 to 1.3.0 (#3860)
  • 8f8c68a build(deps): bump github.com/alexkohler/nakedret to 2.0.1 (#3760)
  • f648894 build(deps): bump github.com/butuzov/ireturn from 0.1.1 to 0.2.0 (#3794)
  • aad2e22 build(deps): bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible in /tools (#3831)
  • 4405fe6 build(deps): bump github.com/docker/docker from 20.10.21+incompatible to 20.10.24+incompatible in /tools (#3765)
  • 7dcc1a1 build(deps): bump github.com/docker/docker from 23.0.1+incompatible to 23.0.3+incompatible in /tools (#3818)
  • bc616e8 build(deps): bump github.com/go-critic/go-critic from 0.7.0 to 0.8.0 (#3810)
  • 7d04f34 build(deps): bump github.com/go-critic/go-critic from 0.8.0 to 0.8.1 (#3842)
  • 251ceaa build(deps): bump github.com/goreleaser/nfpm/v2 from 2.25.1 to 2.29.0 in /tools (#3847)
  • 60f1f1b build(deps): bump github.com/kunwardeep/paralleltest from 1.0.6 to 1.0.7 (#3859)
  • 5195575 build(deps): bump github.com/ldez/tagliatelle from 0.4.0 to 0.5.0 (#3782)
  • 6fffff0 build(deps): bump github.com/mgechev/revive from 1.3.1 to 1.3.2 (#3845)
  • 69f929b build(deps): bump github.com/nishanths/exhaustive from 0.9.5 to 0.10.0 (#3733)
  • 95e2116 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.10.0 to 0.11.0 (#3756)
  • 58182e7 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.11.0 to 0.11.2 (#3811)
  • 4af546a build(deps): bump github.com/nunnatsa/ginkgolinter from 0.11.2 to 0.12.0 (#3822)
  • ba0a69c build(deps): bump github.com/nunnatsa/ginkgolinter from 0.9.0 to 0.10.0 (#3734)
  • d42f373 build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.0 to 1.4.1 (#3821)
  • 390a36c build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.1 to 1.4.2 (#3837)
  • 8bbb655 build(deps): bump github.com/securego/gosec/v2 from 2.15.0 to 2.16.0 (#3843)
  • 872f4bd build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.2 to 3.23.3 (#3754)
  • df12662 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.3 to 3.23.4 (#3823)
  • 7e0ab2e build(deps): bump github.com/sigstore/rekor from 0.12.1-0.20220915152154-4bb6f441c1b2 to 1.1.1 in /tools (#3817)
  • 8e7ce22 build(deps): bump github.com/sigstore/rekor from 1.1.1 to 1.2.0 in /tools (#3851)
  • 3a1377f build(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2 (#3841)
  • 02f0689 build(deps): bump github.com/sivchari/containedctx from 1.0.2 to 1.0.3 (#3732)
  • bfa2006 build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#3771)
  • 09549a4 build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#3844)
  • 0aea352 build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#3857)
  • 745ecb9 build(deps): bump go.tmz.dev/musttag from 0.5.0 to 0.6.0 (#3791)
  • a04dc9f build(deps): bump go.tmz.dev/musttag from 0.6.0 to 0.6.1 (#3824)
  • 0b8ebea build(deps): bump go.tmz.dev/musttag from 0.6.1 to 0.7.0 (#3853)
  • f5bbb3b build(deps): bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 in /scripts/gen_github_action_config (#3773)
  • cb6390d build(deps): bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 in /scripts/gen_github_action_config (#3838)
  • 78c5606 build(deps): bump golang.org/x/tools from 0.7.0 to 0.8.0 (#3770)
  • 1b5497e build(deps): bump golang.org/x/tools from 0.8.0 to 0.9.1 (#3835)
  • 5c9863a build(deps): bump golang.org/x/tools from 0.9.1 to 0.9.2 (#3858)
  • 1cc52b0 build(deps): bump mvdan.cc/gofumpt from 0.4.0 to 0.5.0 (#3772)
  • 252ae9f build(deps): bump peter-evans/create-pull-request from 4 to 5 (#3774)
  • fb746c4 depguard: migrate to v2 (#3795)
  • 553d7df feat: add the gosmopolitan linter (#3458)
  • ca05239 feat: remove warning when the config file is explicitly stdin (#3740)
  • afd0ba5 forbidigo: better support for configuring complex rules (#3612)
  • 842abcd gci: improve error message (#3777)
  • fb7d328 ginkgolinter: add suppress-async-assertion option (#3735)
  • 52edd01 gosec: convert global settings as map with proper key type (#3779)
  • 51f8a61 importas: detect duplicate alias or package in the configuration (#3753)
  • 2dede6a importas: fix typo in logs (#3762)
  • 66ac4b5 ireturn: update tests & docs (#3800)
  • 9f2528a mirror: linter that suggest using alternative string/[]byte functions (#3825)
  • 00d17cc output: add colored-tab (#3729)
  • 8fde463 rules: support inverted path match (#3617)
  • cec16b6 usestdlibvars: fix configuration (#3797)