Skip to content

Releases: golangci/golangci-lint

v1.52.0

18 Mar 10:58
a12be2d
Compare
Choose a tag to compare

Changelog

  • 530ac9c build(deps): bump github.com/Abirdcfly/dupword from 0.0.9 to 0.0.11 (#3685)
  • b88bb97 build(deps): bump github.com/Antonboom/errname from 0.1.7 to 0.1.8 (#3660)
  • a823b3f build(deps): bump github.com/Antonboom/errname from 0.1.8 to 0.1.9 (#3672)
  • 4e1f615 build(deps): bump github.com/Antonboom/nilnil from 0.1.1 to 0.1.2 (#3658)
  • c623116 build(deps): bump github.com/Antonboom/nilnil from 0.1.2 to 0.1.3 (#3679)
  • 3a1f50d build(deps): bump github.com/ashanbrown/forbidigo from 1.4.0 to 1.5.1 (#3639)
  • a68dc43 build(deps): bump github.com/breml/bidichk from 0.2.3 to 0.2.4 (#3680)
  • 767060f build(deps): bump github.com/breml/errchkjson from 0.3.0 to 0.3.1 (#3684)
  • 73c0b5e build(deps): bump github.com/charithe/durationcheck from 0.0.9 to 0.0.10 (#3661)
  • 6aa4e0f build(deps): bump github.com/daixiang0/gci from 0.9.1 to 0.10.1 (#3686)
  • 36a2671 build(deps): bump github.com/fatih/color from 1.14.1 to 1.15.0 (#3681)
  • e27b129 build(deps): bump github.com/go-critic/go-critic from 0.6.7 to 0.7.0 (#3701)
  • ca5738e build(deps): bump github.com/junk1tm/musttag from 0.4.5 to 0.5.0 (#3624)
  • 737f3e2 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.3 to 1.1.4 (#3693)
  • 97ca788 build(deps): bump github.com/maratori/testpackage from 1.1.0 to 1.1.1 (#3676)
  • 77d398e build(deps): bump github.com/mgechev/revive from 1.2.5 to 1.3.0 (#3698)
  • ca9e210 build(deps): bump github.com/mgechev/revive from 1.3.0 to 1.3.1 (#3702)
  • a76f37c build(deps): bump github.com/moricho/tparallel from 0.2.1 to 0.3.0 (#3687)
  • 49ce80a build(deps): bump github.com/nunnatsa/ginkgolinter from 0.8.1 to 0.9.0 (#3643)
  • f0dbc75 build(deps): bump github.com/polyfloyd/go-errorlint from 1.1.0 to 1.2.0 (#3636)
  • ccf8025 build(deps): bump github.com/polyfloyd/go-errorlint from 1.2.0 to 1.3.0 (#3675)
  • 1368d92 build(deps): bump github.com/polyfloyd/go-errorlint from 1.3.0 to 1.4.0 (#3695)
  • e09c247 build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.1 to 3.23.2 (#3659)
  • a4d2362 build(deps): bump github.com/sonatard/noctx from 0.0.1 to 0.0.2 (#3696)
  • a3cc9c2 build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#3637)
  • 11c2aed build(deps): bump github.com/tdakkota/asciicheck from 0.1.1 to 0.2.0 (#3694)
  • 7d1255d build(deps): bump github.com/timonwong/loggercheck from 0.9.3 to 0.9.4 (#3657)
  • 3af8234 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.8.0 to 2.8.1 (#3640)
  • 6792509 build(deps): bump golang.org/x/net from 0.0.0-20220624214902-1bab6f366d9e to 0.7.0 in /scripts/gen_github_action_config (#3647)
  • 71be32a build(deps): bump golang.org/x/net from 0.0.0-20220805013720-a33c5aa5df48 to 0.7.0 in /tools (#3648)
  • c01eca8 build(deps): bump golang.org/x/oauth2 from 0.5.0 to 0.6.0 in /scripts/gen_github_action_config (#3664)
  • 59f1c6e build(deps): bump honnef.co/go/tools from 0.4.2 to 0.4.3 (#3699)
  • 55d800e build(deps): bump sonatype-nexus-community/nancy-github-action from 1.0.2 to 1.0.3 (#3665)
  • 6c21f04 chore: fix nancy
  • 075691c feat: add TeamCity output format (#3606)
  • 985efcc feat: check only changed files in pre-commit hook (#3521)
  • b40a544 fix: consider path prefix when matching path patterns (#3571)
  • d7c2998 godox: bump to HEAD (#3697)
  • 610a2bd1 lll: skip go command (#3572)
  • 00c3aa4 rowserrcheck: remove limitation related to generics support (#3691)
  • ff50ae4 wastedassign: remove limitation related to generics support (#3689)

v1.51.2

19 Feb 22:03
3e8facb
Compare
Choose a tag to compare

Changelog

  • 589ab84 build(deps): bump github.com/ashanbrown/forbidigo from 1.3.0 to 1.4.0 (#3590)
  • c4df01f build(deps): bump github.com/bombsimon/wsl/v3 from 3.3.0 to 3.4.0 (#3575)
  • b19c0f1 build(deps): bump github.com/daixiang0/gci from 0.9.0 to 0.9.1 (#3576)
  • a775985 build(deps): bump github.com/go-critic/go-critic from 0.6.5 to 0.6.6 (#3616)
  • 3e8facb build(deps): bump github.com/go-critic/go-critic from 0.6.6 to 0.6.7 (#3618)
  • b8907fa build(deps): bump github.com/junk1tm/musttag from 0.4.4 to 0.4.5 (#3598)
  • ed098c4 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.6 to 1.1.0 (#3588)
  • 6437429 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.21.1 to 1.22.0 (#3574)
  • ba76af4 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.22.0 to 1.23.0 (#3615)
  • 1248a2b build(deps): bump github.com/securego/gosec/v2 from 2.14.0 to 2.15.0 (#3577)
  • dd45e44 build(deps): bump golang.org/x/tools from 0.5.0 to 0.6.0 (#3587)
  • a4d2f89 build(deps): bump honnef.co/go/tools from 0.4.0 to 0.4.1 (#3591)
  • f764234 build(deps): bump honnef.co/go/tools from 0.4.1 to 0.4.2 (#3599)
  • fe53ca0 fix: cache status size calculation (#3611)
  • a0893e3 govet: enable timeformat by default (#3602)

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). โค๏ธ

v1.51.1

05 Feb 13:25
b87d2c1
Compare
Choose a tag to compare

Changelog

  • 5a9bd92 build(deps): bump github.com/go-toolsmith/astcopy from v1.0.2 to v1.0.3 (#3560)
  • 54f8bd6 build(deps): bump github.com/junk1tm/musttag from 0.4.3 to 0.4.4 (#3564)
  • f866ad8 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.8.0 to 0.8.1 (#3562)
  • b0b0e4c build(deps): bump github.com/ryanrolds/sqlclosecheck from 0.3.0 to 0.4.0 (#3545)
  • 193ad93 build(deps): bump github.com/sanposhiho/wastedassign/v2 from 2.0.6 to 2.0.7 (#2160)
  • 53fde12 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.12 to 3.23.1 (#3544)
  • b87d2c1 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.7.0 to 2.8.0 (#3563)
  • a48b00a ginkgolinter: fix panic (#3553)
  • 06e3515 ineffassign: bump to HEAD (#3550)
  • 7beb2fb staticcheck: bump to v0.4.0 (#3551)

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). โค๏ธ

v1.51.0

02 Feb 08:48
6d3f06c
Compare
Choose a tag to compare

Changelog

  • 26dde52 Add the ginkgolinter linter (#3369)
  • 74b768a Add timeformat to govet analysers (#3353)
  • 6f7f8ae Build NetBSD binaries (#3442)
  • 49e5bc0 Revert "build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.10 to 3.22.11" (#3397)
  • ec4b34d build(deps): bump 4d63.com/gocheckcompilerdirectives from 1.1.0 to 1.2.0 (#3497)
  • 08f0914 build(deps): bump 4d63.com/gocheckcompilerdirectives from 1.2.0 to 1.2.1 (#3519)
  • 5631503 build(deps): bump 4d63.com/gochecknoglobals from 0.1.0 to 0.2.1 (#3496)
  • abe878d build(deps): bump docker/build-push-action from 3 to 4 (#3522)
  • 17ceb18 build(deps): bump github.com/Abirdcfly/dupword from 0.0.7 to 0.0.8 (#3333)
  • 9e81318 build(deps): bump github.com/Abirdcfly/dupword from 0.0.8 to 0.0.9 (#3422)
  • 7c4b7fd build(deps): bump github.com/daixiang0/gci from 0.8.1 to 0.8.2 (#3330)
  • 3ed68cb build(deps): bump github.com/daixiang0/gci from 0.8.2 to 0.8.5 (#3367)
  • 5a17666 build(deps): bump github.com/daixiang0/gci from 0.8.5 to 0.9.0 (#3379)
  • 8ed6146 build(deps): bump github.com/fatih/color from 1.13.0 to 1.14.1 (#3520)
  • 6eee916 build(deps): bump github.com/junk1tm/musttag from 0.4.1 to 0.4.3 (#3499)
  • b155355 build(deps): bump github.com/kisielk/errcheck from 1.6.2 to 1.6.3 (#3482)
  • 9d5b6be build(deps): bump github.com/kyoh86/exportloopref from 0.1.8 to 0.1.9 (#3317)
  • a2fd652 build(deps): bump github.com/kyoh86/exportloopref from 0.1.9 to 0.1.11 (#3368)
  • f290697 build(deps): bump github.com/ldez/tagliatelle from 0.3.1 to 0.4.0 (#3483)
  • 5cd8583 build(deps): bump github.com/leonklingele/grouper from 1.1.0 to 1.1.1 (#3372)
  • b126822 build(deps): bump github.com/mgechev/revive from 1.2.4 to 1.2.5 (#3517)
  • 7fb3021 build(deps): bump github.com/nishanths/exhaustive from 0.8.3 to 0.9.2 (#3381)
  • 453ff48 build(deps): bump github.com/nishanths/exhaustive from 0.9.2 to 0.9.3 (#3392)
  • e5aaa0a build(deps): bump github.com/nishanths/exhaustive from 0.9.3 to 0.9.5 (#3444)
  • 17c6cbb build(deps): bump github.com/nunnatsa/ginkgolinter from 0.6.0 to 0.7.1 (#3500)
  • 0eb5e26 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.5 to 1.0.6 (#3380)
  • 5ddece4 build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.21 to 0.3.22 (#3443)
  • a9acb8d build(deps): bump github.com/ryancurrah/gomodguard from 1.2.4 to 1.3.0 (#3518)
  • ce9b9d6 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.20.0 to 1.21.1 (#3318)
  • 0028d68 build(deps): bump github.com/securego/gosec/v2 from 2.13.1 to 2.14.0 (#3311)
  • 089cf83 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.10 to 3.22.11 (#3393)
  • 7a1c8d3 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.10 to 3.22.12 (#3445)
  • 95813b7 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.9 to 3.22.10 (#3347)
  • ff0373c build(deps): bump github.com/sivchari/tenv from 1.7.0 to 1.7.1 (#3331)
  • 58ebedd build(deps): bump github.com/sourcegraph/go-diff to HEAD (#3350)
  • 34dde34 build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1 (#3334)
  • 402bb50 build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#3332)
  • 036db83 build(deps): bump github.com/timakin/bodyclose to HEAD (#3378)
  • b8277a9 build(deps): bump golang.org/x/tools from 0.2.0 to 0.3.0 (#3358)
  • b2462ed build(deps): bump golang.org/x/tools from 0.3.0 to 0.4.0 (#3411)
  • 43e1eda build(deps): bump golang.org/x/tools from 0.4.0 to 0.5.0 (#3465)
  • a31485f build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#3323)
  • bc33392 build(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#3360)
  • 7fcd71a build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#3501)
  • e0b6589 build(deps): bump goreleaser/goreleaser-action from 3 to 4 (#3427)
  • d7f24f9 build(deps): bump minimatch from 3.0.4 to 3.1.2 in /tools (#3373)
  • 31ada2a chore: Add a clarifying note to the bug report template (#3355)
  • d193989 chore: Do not use methods on pointer and value receivers (#3321)
  • 59bbe7f chore: add changelog
  • 9a8a056 chore: fix install script (revert) (#3514)
  • d57156e chore: fix install.sh to point at releases API (#3510)
  • 52e2f93 chore: fix latest install to cater for existing users who installed using '-s latest' (#3513)
  • fb0866a ci: support building loong64 release binaries (#3459)
  • d5d671f feat: add gocheckcompilerdirectives (#3463)
  • 3cc6373 feat: add musttag linter (#3386)
  • 67d57f4 feat: remove deprecated linters from presets (#3405)
  • 3a6f840 go1.20 support (#3414)
  • d65222a unparam: bump to HEAD (#3429)
  • 271a55d unparam: bump to HEAD (#3452)
  • 0cc3585 wsl: fix force-err-cuddling flag (#3407)

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). โค๏ธ

v1.50.1

22 Oct 11:11
8926a95
Compare
Choose a tag to compare

Changelog

  • bd7edf3 build(deps): bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 (#3310)
  • 8926a95 build(deps): bump github.com/daixiang0/gci from 0.8.0 to 0.8.1 (#3309)
  • 98df049 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.2 to 1.1.3 (#3296)
  • a760cb1 build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#3298)
  • 2823ec6 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.2 to 2.7.0 (#3287)
  • 0793063 build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.5.0 to 2.5.1 (#3295)
  • 046dce3 build(deps): bump golang.org/x/tools from 0.1.12 to 0.2.0 (#3312)
  • 2fa3b6f chore: update go.mod for gen_github_action_config script (#3300)
  • 6740559 code-climate: add default severity (#3294)
  • d03294f fix: remove redundant character escape '/' (#3278)
  • 8a1cf90 lll: skip imports (#3288)
  • 5ef7b41 revive: fix configuration parsing (#3284)

v1.50.0

04 Oct 10:46
704109c
Compare
Choose a tag to compare

Changelog

  • 890a826 Normalize exclude-rules paths for Windows (#2387)
  • db4955a build(deps): bump github.com/OpenPeeDeeP/depguard from 1.1.0 to 1.1.1 (#3186)
  • 937e3d4 build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (#3234)
  • 40082da build(deps): bump github.com/daixiang0/gci from 0.6.3 to 0.7.0 (#3190)
  • c78bc23 build(deps): bump github.com/daixiang0/gci from 0.7.0 to 0.8.0 (#3241)
  • 28d7095 build(deps): bump github.com/go-critic/go-critic from 0.6.4 to 0.6.5 (#3150)
  • ff61ea9 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.0 to 1.1.1 (#3208)
  • 0a581b3 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.1 to 1.1.2 (#3243)
  • 0a94c36 build(deps): bump github.com/mgechev/revive from 1.2.3 to 1.2.4 (#3257)
  • 33a78c9 build(deps): bump github.com/nishanths/exhaustive from 0.8.1 to 0.8.3 (#3207)
  • d5dc2a1 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.2 to 1.0.3 (#3209)
  • ac95c85 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.3 to 1.0.4 (#3226)
  • b5203c3 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.4 to 1.0.5 (#3254)
  • 4189d1c build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.13.0 to 1.14.0 (#3147)
  • 70d595e build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.14.0 to 1.17.1 (#3188)
  • 1f155b7 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.17.1 to 1.19.0 (#3206)
  • d1dc9ae build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.0 to 1.19.1 (#3242)
  • e3aa30f build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.1 to 1.20.0 (#3255)
  • 24f86df build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 (#3187)
  • 704109c build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.8 to 3.22.9 (#3267)
  • 794f00c build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#3205)
  • 942e7e5 build(deps): bump github.com/sylvia7788/contextcheck from 1.0.6 to 1.0.8 (#3148)
  • ed47d7b build(deps): bump github.com/sylvia7788/contextcheck from 1.0.8 to 1.0.9 (#3189)
  • 2019f76 build(deps): bump mvdan.cc/gofumpt from 0.3.1 to 0.4.0 (#3256)
  • 0d33a5b cli: remove reference to old service (#3173)
  • 213fb56 contextcheck: change owner (#3198)
  • 8a3b754 exhaustive: add missing config (#3212)
  • febe5fd feat: add linter dupword (#3192)
  • 281e184 feat: add testableexamples linter (#3170)
  • 3a2ad90 feat: rename logrlint to loggercheck (#3144)
  • aba80c7 feat: update gofmt and goimports and add option "rewrite-rules" (#3174)
  • 091d2f4 interfacebloat: fix configuration loading (#3194)
  • 05c3af1 paralleltest: add tests of the ignore-missing option (#3233)
  • b1cec47 wsl: support all configs and update docs (#3202)

v1.49.0

24 Aug 10:42
cc2d97f
Compare
Choose a tag to compare

Changelog

  • 69a49cf build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.2 to 2.3.0 (#3122)
  • 9da04f5 build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 (#3089)
  • 1bb23af build(deps): bump github.com/mattn/go-colorable from 0.1.12 to 0.1.13 (#3123)
  • be10ef2 build(deps): bump github.com/mgechev/revive from 1.2.1 to 1.2.2 (#3075)
  • 1ca9aff build(deps): bump github.com/mgechev/revive from 1.2.2 to 1.2.3 (#3091)
  • f78f6dd build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.0 to 1.0.1 (#3092)
  • edeaa17 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.1 to 1.0.2 (#3097)
  • 1471405 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.10.0 to 1.13.0 (#3120)
  • 0e044f2 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.8.0 to 1.10.0 (#3090)
  • d57145d build(deps): bump github.com/securego/gosec/v2 from 2.12.0 to 2.13.1 (#3119)
  • a813244 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.6 to 3.22.7 (#3074)
  • cc2d97f contextcheck: bump to v1.0.6 && re-enable (#3102)
  • 63b2fe0 feat: add interfacebloat (#3024)
  • f48530e feat: add logrlint (#3093)
  • 58809c3 feat: add reassign linter (#3064)
  • 37d3aa4 feat: deprecate varcheck, deadcode, and structcheck (#3125)
  • da3b149 fix: exit early on run --version (#3067)
  • 970b0a5 fix: set an explicit GOROOT in the Docker image for go-critic (#3106)
  • d4fd2db nosnakecase: deprecate linter (#3065)

v1.48.0

04 Aug 19:05
2d8fea8
Compare
Choose a tag to compare

Changelog

v1.47.3

01 Aug 11:19
d186efe
Compare
Choose a tag to compare

Changelog

  • 72fc41c build(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (#3009)
  • 57d61af build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (#3030)
  • 9cb17e4 build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (#3003)
  • 2ab4678 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
  • 03d9b11 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
  • e55f22c build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#3010)
  • c7ed8b6 build(deps): bump github.com/sivchari/nosnakecase from 1.5.0 to 1.7.0 (#3008)
  • 95d57d9 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
  • d186efe build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
  • 846fab8 cgo: fix linters ignoring Cgo files (#3025)
  • d44cd49 feat: remove some go1.18 limitations (#3001)
  • 886fbd7 gci: fix panic with invalid configuration option (#3019)

v1.47.2

21 Jul 11:10
61673b3
Compare
Choose a tag to compare

Changelog