golangci-lint v1.49.0 Release Notes
-
๐ IMPORTANT:
varcheck
anddeadcode
has been removed of default linters.๐ 1. new linters
interfacebloat
: https://github.com/sashamelentyev/interfacebloatlogrlint
: https://github.com/timonwong/logrlintreassign
: https://github.com/curioswitch/go-reassign โก๏ธ 2. updated lintersgo-colorable
: from 0.1.12 to 0.1.13go-critic
: from 0.6.3 to 0.6.4go-errorlint
: from 1.0.0 to 1.0.2go-exhaustruct
: from 2.2.2 to 2.3.0gopsutil
: from 3.22.6 to 3.22.7gosec
: from 2.12.0 to 2.13.1revive
: from 1.2.1 to 1.2.3usestdlibvars
: from 1.8.0 to 1.13.0contextcheck
: from v1.0.4 to v1.0.6 && re-enablenosnakecase
: This linter is deprecated.varcheck
: This linter is deprecated useunused
instead.deadcode
: This linter is deprecated useunused
instead.structcheck
: This linter is deprecated useunused
instead. ๐ 3. documentationrevive
: fix wrong URL- Add a section about default exclusions
usestdlibvars
: fix typo in documentationnolintlint
: remove allow-leading-space option- Update documentation and assets
- misc.
- dev: rewrite the internal tests framework
- fix: exit early on run --version
- fix: set an explicit
GOROOT
in the Docker image forgo-critic