Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v2.1.0

Compare
Choose a tag to compare
@golangci-releaser golangci-releaser released this 12 Apr 17:23
· 50 commits to main since this release

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

  • a39e032 Add funcorder linter (#5630)
  • 61bbcc4 build(deps): bump dependencies in the linter-testdata group (#5691)
  • 3f0afe4 build(deps): bump github.com/Antonboom/testifylint from 1.6.0 to 1.6.1 (#5654)
  • d0b46eb build(deps): bump github.com/Crocmagnon/fatcontext from 0.7.1 to 0.7.2 (#5685)
  • d1f1519 build(deps): bump github.com/alecthomas/chroma/v2 from 2.15.0 to 2.16.0 (#5690)
  • 18a264f build(deps): bump github.com/alexkohler/nakedret/v2 from 2.0.5 to 2.0.6 (#5681)
  • df1b1bb build(deps): bump github.com/alingse/nilnesserr from 0.1.2 to 0.2.0 (#5693)
  • ab604ca build(deps): bump github.com/bombsimon/wsl/v4 from 4.6.0 to 4.7.0 (#5689)
  • a7a49fe build(deps): bump github.com/butuzov/ireturn from 0.3.1 to 0.4.0 (#5710)
  • 38d2fac build(deps): bump github.com/firefart/nonamedreturns from 1.0.5 to 1.0.6 (#5687)
  • a1a9836 build(deps): bump github.com/ghostiam/protogetter from 0.3.12 to 0.3.13 (#5658)
  • 9913226 build(deps): bump github.com/golangci/unconvert to HEAD (#5713)
  • 72fe3b6 build(deps): bump github.com/jgautheron/goconst from 1.7.1 to 1.8.1 (#5712)
  • 86cc7c6 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.10 to 1.0.13 (#5636)
  • ed7e596 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.13 to 1.0.14 (#5657)
  • 3031827 build(deps): bump github.com/mgechev/revive from 1.7.0 to 1.8.0 (#5663)
  • e0e6eae build(deps): bump github.com/mgechev/revive from 1.8.0 to 1.9.0 (#5721)
  • 06cc97c build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4 (#5711)
  • 835bf75 build(deps): bump github.com/polyfloyd/go-errorlint from 1.7.1 to 1.8.0 (#5686)
  • 7eac7fa build(deps): bump github.com/securego/gosec/v2 from 2.22.2 to 2.22.3 (#5694)
  • be9882b build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.2 to 4.25.3 (#5680)
  • 516e0f0 build(deps): bump github.com/timonwong/loggercheck from 0.10.1 to 0.11.0 (#5715)
  • fe1e49e build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.10.0 to 2.11.0 (#5656)
  • 756a7b5 build(deps): bump go-simpler.org/sloglint from 0.10.0 to 0.10.1 (#5696)
  • 638ece2 build(deps): bump go-simpler.org/sloglint from 0.10.1 to 0.11.0 (#5698)
  • 427b310 build(deps): bump go-simpler.org/sloglint from 0.9.0 to 0.10.0 (#5688)
  • bd59ef8 build(deps): bump golang.org/x/oauth2 from 0.28.0 to 0.29.0 in /scripts/gen_github_action_config in the scripts group (#5704)
  • 8bf74c4 build(deps): bump golang.org/x/sys from 0.31.0 to 0.32.0 (#5699)
  • ea6a565 build(deps): bump golang.org/x/tools from 0.31.0 to 0.32.0 (#5708)
  • a2a26ae build(deps): bump the linter-testdata group across 2 directories with 4 updates (#5676)
  • f639807 feat: add an option to display absolute paths (#5651)
  • e589139 feat: add config path placeholder (#5650)
  • 8c929e0 feat: add golangci-lint-fmt pre-commit hook (#5705)
  • 0450995 feat: add warn-unused option for fmt command (#5668)
  • 2edb46d feat: colored diff for fmt command (#5652)
  • db2214f fix: gocritic importshadow checker (#5673)
  • 65b3c07 fix: memory leaks when using go1.(N) with golangci-lint built with with go1.(N-1) (#5695)
  • 941b1ef govet: add httpmux analyzer (#5717)