Revisions of golangci-lint
Dominique Leuenberger (dimstar_suse)
accepted
request 1223280
from
Jeff Kowalczyk (jfkw)
(revision 24)
- Update to version 1.62.0: * build(deps): bump go-simpler.org/musttag from 0.12.2 to 0.13.0 (#5121) * build(deps): bump github.com/lasiar/canonicalheader from 1.1.1 to 1.1.2 (#5119) * build(deps): bump golang.org/x/tools from 0.26.0 to 0.27.0 (#5120) * build(deps): bump golang.org/x/sys from 0.26.0 to 0.27.0 (#5118) * docs: improve forbidigo pattern examples for built-in functions (#5116) * fix: Go version propagation (#5109) * feat: deprecation step 2 of execinquery and gomnd (#5110) * build(deps): bump github.com/mgechev/revive from 1.4.0 to 1.5.0 (#5113) * build(deps): bump github.com/nunnatsa/ginkgolinter from 0.17.0 to 0.18.0 (#5114) * fix: improve Go detection (#5112) * dev: use secure links (#5106) * docs: replace staticcheck.io with staticcheck.dev (#5107) * docs: fix iface linter name (#5104) * dev: extends usage of new Stopwatch methods (#5102) * dev: improve readability and maintenance of `internal/cache` (#5101) * dev: isolates the code borrowed from Go (#5100) * dev: updates internal code borrowed from Go (#5098) * build(deps): bump the all group across 3 directories with 5 updates (#5099) * build(deps): bump github.com/timonwong/loggercheck from 0.9.4 to 0.10.1 (#5094) * build(deps): bump github.com/nunnatsa/ginkgolinter from 0.16.2 to 0.17.0 (#5093) * build(deps): bump github.com/sivchari/tenv from 1.10.0 to 1.12.1 (#5090) * build(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 (#5088) * Revert "Add filen linter (#5081)" (#5087) * code-climate: add check_name field (#5086) * dev: remove unused function SetAnalyzerGoVersion (#5085) * Add filen linter (#5081) * docs: update demo animation (#5083) * Add iface linter (#4871) * build(deps): bump github.com/golangci/go-printf-func-name from 7558a9eaa5af to v0.1.0 (#5079) (forwarded request 1223269 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1222524
from
Jeff Kowalczyk (jfkw)
(revision 23)
- Update to version 1.61.0: * build(deps): bump github.com/securego/gosec/v2 from 2.21.1 to 2.21.2 (#4997) * build(deps): bump github.com/ckaznocha/intrange from 0.1.2 to 0.2.0 (#4996) * build(deps): bump github.com/tetafro/godot from 1.4.16 to 1.4.17 (#4993) * build(deps): bump github.com/ryancurrah/gomodguard from 1.3.3 to 1.3.5 (#4992) * dev: fix nancy * docs: add additionnal info about typecheck (#4985) * gosec: disable G407 (#4983) * build(deps): bump github.com/securego/gosec/v2 from 2.21.0 to 2.21.1 (#4982) * build(deps): bump github.com/Crocmagnon/fatcontext from 0.4.0 to 0.5.2 (#4971) * build(deps): bump github.com/Abirdcfly/dupword from 0.0.14 to 0.1.1 (#4954) * feat: exclude Swagger Codegen files (#4967) * feat: add junit-xml-extended format (#4918) * build(deps): bump github.com/go-viper/mapstructure/v2 from 2.0.0 to 2.1.0 (#4910) * build(deps): bump github.com/securego/gosec/v2 from 2.20.1-0.20240826145712-bcec04e78483 to 2.21.0 (#4981) * build(deps): bump peter-evans/create-pull-request from 6 to 7 in the all group (#4978) * build(deps): bump the all group across 4 directories with 8 updates (#4979) * build(deps): bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 in /scripts/gen_github_action_config in the all group (#4977) * chore: improve dependabot configuration * nolintlint: remove empty line in unused directive replacement (#4973) * build(deps): bump github.com/daixiang0/gci from 0.13.4 to 0.13.5 (#4975) * fix: improve runtime version parsing (#4961) * build(deps): bump github.com/securego/gosec/v2 from ab3f6c1c83a0 to bcec04e78483 (#4960) * build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 (#4955) * build(deps): bump micromatch from 4.0.5 to 4.0.8 in /docs (#4952) * build(deps): bump micromatch from 4.0.5 to 4.0.8 in /.github/peril (#4951) * build(deps): bump github.com/quasilyte/go-ruleguard to 0fe6f58b47b1 (#4949) * docs: update documentation (#4945) * docs: update GitHub Action assets (#4944) (forwarded request 1222521 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1195847
from
Jeff Kowalczyk (jfkw)
(revision 22)
- Update to version 1.60.3: * build(deps): bump github.com/securego/gosec/v2 from 81cda2f91fbe to ab3f6c1c83a0 (#4943) * feat: check that Go version use to build is greater or equals to the Go version of the project (#4938) * docs: update documentation (#4931) * docs: update documentation assets (#4930) * docs: update GitHub Action assets (#4929) (forwarded request 1195846 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1194963
from
Jeff Kowalczyk (jfkw)
(revision 21)
- Update to version 1.60.2: * build(deps): bump github.com/securego/gosec/v2 from 5f0084eb01a9 to 81cda2f91fbe (#4927) * dev: fix GO_VERSION in post release workflow (#4926) * exportloopref: deprecation (#4916) * chore: update gofmt (#4923) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.8.3 to 2.9.0 (#4921) * build(deps): bump mvdan.cc/gofumpt from 0.6.0 to 0.7.0 (#4922) * staticcheck: propagate Go version (#4907) * gosec: add G602 analyzer (#4906) * build(deps): bump honnef.co/go/tools from 0.5.0 to 0.5.1 (#4911) * docs: update documentation (#4903) * docs: update documentation assets (#4901) * docs: update GitHub Action assets (#4902) (forwarded request 1194962 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1179581
from
Jeff Kowalczyk (jfkw)
(revision 20)
- Update to version 1.59.1: * build(deps): bump github.com/golangci/misspell from 0.5.1 to 0.6.0 (#4804) * build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.25.0 to 1.26.0 (#4801) * build(deps): bump golang.org/x/tools from 0.21.0 to 0.22.0 (#4802) * intrange: add style preset (#4797) * docs: update revive configuration (#4790) * chore: improve issue templates * chore: improve issue templates * dev: improve issue templates * build(deps): bump github.com/go-viper/mapstructure/v2 from 2.0.0-alpha.1 to 2.0.0 (#4788) * unparam: bump to HEAD (#4786) * build(deps): bump github.com/polyfloyd/go-errorlint from 1.5.1 to 1.5.2 (#4785) * build(deps): bump go-simpler.org/sloglint from 0.7.0 to 0.7.1 (#4784) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.4 to 3.24.5 (#4782) * chore: fix bench scripts * chore: update badges * dev: remove unused field from PathPrettifier (#4778) * fix: SARIF format require issue column >= 1 (#4775) * dev: display version in verbose mode (#4771) * fix: gomnd deprecated configuration compatibility (#4768) * dev: add targets to benchmark a linter (#4761) * docs: fix broken link (#4766) * docs: fix typos (#4763) * build(deps): bump github.com/Antonboom/testifylint from 1.3.0 to 1.3.1 (#4759) * fix: init empty result slice for SARIF printer (#4758) * dev: fix double call to startTracing (#4757) * docs: update documentation (#4756) * docs: update documentation assets (#4749) * docs: update GitHub Action assets (#4750) (forwarded request 1179579 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1176988
from
Jeff Kowalczyk (jfkw)
(revision 19)
- Update to version 1.59.0: * build(deps): bump github.com/securego/gosec/v2 from 2.20.0 to 5f0084eb01a9 (#4748) * dev: fix badges * dev: improve issue chooser (#4747) * build(deps): bump github.com/BurntSushi/toml from 1.3.2 to 1.4.0 (#4746) * build(deps): bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0 (#4745) * chore: use global security policy * feat: allow the analysis of generated files (#4740) * feat: add warning about disabled and deprecated linters (level 2) (#4742) * chore: add html to the JSONSchema (#4737) * build(deps): bump github.com/go-critic/go-critic from 0.11.3 to 0.11.4 (#4738) * chore: improve grammar in the security policy (#4739) * chore: add security policy * fix: remove errcheck defaults (#4734) * docs: update documentation (#4732) * feat: deprecate github-actions format (#4726) * Support Sarif output (#4723) * build(deps): bump github.com/Antonboom/testifylint from 1.2.0 to 1.3.0 (#4729) * build(deps): bump go-simpler.org/sloglint from 0.6.0 to 0.7.0 (#4718) * docs: update GitHub Action assets (#4731) (forwarded request 1176987 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1175392
from
Jeff Kowalczyk (jfkw)
(revision 18)
- Update to version 1.58.2: * build(deps): bump github.com/securego/gosec/v2 from 2.19.0 to 2.20.0 (#4724) * build(deps): bump github.com/fatih/color from 1.16.0 to 1.17.0 (#4725) * build(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 (#4722) * docs: improve integrations and install pages (#4719) * docs: uses org account for GitHub Sponsor * docs: funding and social networks * docs: funding and social networks * build(deps): bump github.com/Antonboom/nilnil from 0.1.8 to 0.1.9 (#4716) * build(deps): bump github.com/lasiar/canonicalheader from 1.0.6 to 1.1.1 (#4715) * dev: set CGO_ENABLED=1 when running "test" task (#4712) * build(deps): bump go-simpler.org/musttag from 0.12.1 to 0.12.2 (#4710) * docs: update documentation (#4711) * dev: deprecate errcheck.ignore option (#4709) * docs: update GitHub Action assets (#4708)
Dominique Leuenberger (dimstar_suse)
accepted
request 1172830
from
Jeff Kowalczyk (jfkw)
(revision 17)
- Update to version 1.58.1: * build(deps): bump github.com/4meepo/tagalign from 1.3.3 to 1.3.4 (#4705) * build(deps): bump github.com/ghostiam/protogetter from 0.3.5 to 0.3.6 (#4707) * build(deps): bump golang.org/x/tools from 0.20.0 to 0.21.0 (#4706) * fix: remove GitHub Action problem matchers (#4700) * build(deps): bump golangci/golangci-lint-action from 5.1.0 to 5.3.0 (#4701) * build(deps): bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 in /scripts/gen_github_action_config (#4702) * fix: gochecknoinits shadow name (#4698) * chore: keep v1.57 JSON schema * docs: update documentation (#4694) * docs: update documentation assets (#4692) * docs: update GitHub Action assets (#4693) (forwarded request 1172812 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1171840
from
Jeff Kowalczyk (jfkw)
(revision 16)
- Update to version 1.58.0: * feat: use problem matchers for GitHub Action format (#4685) * build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.8 to 1.5.1 (#4690) * unparam: bump to HEAD (#4689) * build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 (#4688) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.24.3 to 3.24.4 (#4686) * build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 (#4684) * feat: log an error when using previously deprecated linters (#4681) * build(deps): bump github.com/lasiar/canonicalheader from 1.0.5 to 1.0.6 (#4682) * dev: clean deprecated options (#4673) * dev: removes BaseRule, ExcludeRule, SeverityRule duplications (#4676) * Add new linter canonicalheader (#4672) * build(deps): bump github.com/jjti/go-spancheck from 0.6.0 to 0.6.1 (#4679) * fix: don't hide typecheck errors inside diff processor (#4674) * dev: dedicated package about IllTypedError parsing (#4675) * build(deps): bump github.com/yeya24/promlinter from 0.2.0 to 0.3.0 (#4671) * build(deps): bump github.com/jjti/go-spancheck from 0.5.3 to 0.6.0 (#4670) * build(deps): bump github.com/Antonboom/errname from 0.1.12 to 0.1.13 (#4669) * build(deps): bump github.com/Antonboom/nilnil from 0.1.7 to 0.1.8 (#4668) * build(deps): bump gitlab.com/bosi/decorder from 0.4.1 to 0.4.2 (#4667) * fix: skip go.mod report inside autogenerated_exclude processor (#4663) * build(deps): bump github.com/firefart/nonamedreturns from 1.0.4 to 1.0.5 (#4666) * build(deps): bump github.com/golangci/misspell from 0.4.1 to 0.5.1 (#4665) * build(deps): bump github.com/ultraware/whitespace from 0.1.0 to 0.1.1 (#4664) * build(deps): bump go-simpler.org/sloglint from 0.5.1 to 0.6.0 (#4645) * fix: speed up "fast" linters (#4653) * dev: improve goreleaser configuration (#4660) * dev: fix shellcheck lint issues (#4657) * fix: use plugin version (#4655) * dev: fix broken links to the website (#4656) (forwarded request 1171839 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1163399
from
Jeff Kowalczyk (jfkw)
(revision 15)
- Update to version 1.57.2: * fix: hide useless warning (#4587) * build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.9 to 1.0.10 (#4584) * build(deps): bump express from 4.18.2 to 4.19.2 in /docs (#4581) * build(deps): bump github.com/ldez/gomoddirectives from 0.2.3 to 0.2.4 (#4580) * dev: organize golinters package (#4578) * dev: minor clean up (#4577) * dev: remove unused markdownlint config file (#4576) * fix: missing output format (#4574) * fix: the TeamCity inspectionType service message (#4573) * fix: display warnings on deprecated linter options (#4568) * docs: improve linters page (#4571) * build(deps): bump github.com/ckaznocha/intrange from 0.1.0 to 0.1.1 (#4570) * build(deps): bump github.com/nunnatsa/ginkgolinter from 0.16.1 to 0.16.2 (#4569) * docs: remove invalid example about mixing files and directory (#4566) * build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.4 to 1.1.5 (#4564) * build(deps): bump github.com/karamaru-alpha/copyloopvar from 1.0.8 to 1.0.9 (#4565) * dev: improve feature request issue form (#4560) * build(deps): bump github.com/jgautheron/goconst from 1.7.0 to 1.7.1 (#4555) * docs: update GitHub Action assets (#4553) (forwarded request 1163398 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1159980
from
Jeff Kowalczyk (jfkw)
(revision 14)
- Update to version 1.57.1: * fix: filter invalid issues before other processors (#4552) * build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 (#4548) * build(deps): bump github.com/golangci/plugin-module-register from 0.1.0 to 0.1.1 (#4549) * dev: improve dependabot configuration * docs: fix default value for sloglint no-global (#4547) * docs: update documentation (#4546) * docs: update documentation assets (#4545) * docs: update GitHub Action assets (forwarded request 1159979 from jfkw)
Dominique Leuenberger (dimstar_suse)
accepted
request 1159748
from
Jeff Kowalczyk (jfkw)
(revision 13)
Update to version 1.57.0 with packaging improvements. (forwarded request 1159747 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1146967
from
Jeff Kowalczyk (jfkw)
(revision 12)
- Update to version 1.56.2: * build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.24.0 to 1.25.0 (#4390) * build(deps): bump github.com/securego/gosec/v2 from 2.18.2 to 2.19.0 (#4389) * build(deps): bump github.com/go-critic/go-critic from 0.11.0 to 0.11.1 (#4388) * build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0 (#4387) * build(deps): bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 in /scripts/gen_github_action_config (#4380) * build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 (#4379) * docs: explain limitation of new-from-rev and new-from-patch (#4377) * dev: handle old TODO (#4374) * dev: fix govet.nilness lint issues (#4373) * dev: refactor govet impl with slices.Contains (#4372) * build(deps): bump github.com/Antonboom/testifylint from 1.1.1 to 1.1.2 (#4371) * dev: use goreleaser to create Docker images (#4370) * build(deps): bump github.com/bombsimon/wsl/v4 from 4.2.0 to 4.2.1 (#4367) * docs: Update documentation and assets (#4362) - Update to version 1.56.1: * build(deps): bump github.com/Antonboom/testifylint from 1.1.0 to 1.1.1 (#4359) * build(deps): bump github.com/kisielk/errcheck from 1.6.3 to 1.7.0 (#4358) * govet: disable loopclosure with go1.22 (#4357) * build(deps): bump github.com/mgechev/revive from 1.3.6 to 1.3.7 (#4355) * dev: use matrix go version * docs: Update documentation and assets (#4354) (forwarded request 1146966 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1144965
from
Jeff Kowalczyk (jfkw)
(revision 11)
- Update to version 1.56.0: (forwarded request 1144964 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1123275
from
Jeff Kowalczyk (jfkw)
(revision 10)
- Update to version 1.55.2: * build(deps): bump github.com/shirou/gopsutil/v3 from 3.23.9 to 3.23.10 (#4177) * build(deps): bump github.com/butuzov/ireturn from 0.2.1 to 0.2.2 (#4178) * build(deps): bump github.com/docker/docker from 23.0.3+incompatible to 24.0.7+incompatible in /tools (#4174) * build(deps): bump github.com/nunnatsa/ginkgolinter from 0.14.0 to 0.14.1 (#4171) * build(deps): bump google.golang.org/grpc from 1.55.0 to 1.56.3 in /tools (#4164) * docs: Update documentation and assets (#4163) (forwarded request 1123271 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1120331
from
Jeff Kowalczyk (jfkw)
(revision 9)
- Update to version 1.55.1: * output: convert backslashes to forward slashes for GitHub Action annotations printer (#4149) * build(deps): bump actions/setup-node from 3 to 4 (#4155) * build(deps): bump github.com/golangci/revgrep from v0.5.0 to v0.5.2 (#4154) * build(deps): bump github.com/securego/gosec/v2 from 2.18.1 to 2.18.2 (#4153) * docs: Update documentation and assets * docs: Update documentation and assets (forwarded request 1120330 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1119228
from
Jeff Kowalczyk (jfkw)
(revision 8)
- Update to version 1.55.0: * Add perfsprint linter (#3714) * feat: add `sloglint` linter (#4133) * Add "inamedparam": checks for interface method with unnamed params (#3793) * govet: add `appends` analyzer (#4127) * feat: add `gochecksumtype` linter (#3671) * add protogetter linter (#4069) * Add `testifylint` linter (#4103) * docs: fix typos in testdata (#4116) * dev: enable gocheckcompilerdirectives linter (#4114) * dev: remove golangci-releaser from generated team (#4096) * dev: refactor some test assertions (#4081) * Add a pre-commit hook to check all files (#4046) (forwarded request 1119227 from jfkw)
Ana Guerrero (anag+factory)
accepted
request 1105145
from
Jeff Kowalczyk (jfkw)
(revision 7)
- Update to version 1.54.2: * fix: add all directories as safe git directories inside the Docker image (#4034) * build(deps): bump github.com/polyfloyd/go-errorlint from 1.4.3 to 1.4.4 (#4030) * govet: add directive and slog passes (#4028) * build(deps): bump github.com/tetafro/godot from 1.4.11 to 1.4.14 (#4029) * build(deps): bump github.com/securego/gosec/v2 from 2.16.0 to 2.17.0 (#4015) * build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.23.0 to 1.24.0 (#4016) * build(deps): bump github.com/Antonboom/errname from 0.1.10 to 0.1.12 (#4026) * build(deps): bump github.com/Antonboom/nilnil from 0.1.5 to 0.1.7 (#4024) * build(deps): bump honnef.co/go/tools from 0.4.4 to 0.4.5 (#4022) * dev: remove netlify (#4014) * build(deps): bump github.com/nunnatsa/ginkgolinter from 0.13.3 to 0.13.5 (#4019) * build(deps): bump honnef.co/go/tools from 0.4.3 to 0.4.4 (#4018) * build(deps): bump go.tmz.dev/musttag from 0.7.1 to 0.7.2 (#4017) * dev: packaging improvements (#4009) * dev: CI cleanups (#4008) * dev: improve issue form (#4005) * docs: Update documentation and assets (#4006) (forwarded request 1105141 from jfkw)
Dominique Leuenberger (dimstar_suse)
accepted
request 1103635
from
Jeff Kowalczyk (jfkw)
(revision 6)
- Update to version 1.54.1: * plugin: temporarily hide warning about using plugins using the old API (#4002) * build(deps): bump github.com/go-critic/go-critic from 0.8.2 to 0.9.0 (#4000) * build(deps): bump github.com/quasilyte/go-ruleguard from v0.3.19 to v0.4.0 (#3999) * docs: Update documentation and assets (#3997) (forwarded request 1103634 from jfkw)
Dominique Leuenberger (dimstar_suse)
accepted
request 1103228
from
Jeff Kowalczyk (jfkw)
(revision 5)
- Update to version 1.54.0: - Packaging: Update LICENSE to %license from %doc (forwarded request 1103227 from jfkw)
Displaying revisions 1 - 20 of 24