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
- 0640d3f Add UseTesting linter (#5170)
- aa0450c Add exptostd linter (#5259)
- 1467bc0 Add nilnesserr linter (#5240)
- 6a20504 build(deps): bump github.com/shirou/gopsutil to v4.24.10 (#5167)
- a6c26ee build(deps): bump github.com/4meepo/tagalign from 1.3.4 to 1.4.1 (#5255)
- e85310c build(deps): bump github.com/Antonboom/nilnil from 1.0.0 to 1.0.1 (#5233)
- c751e5c build(deps): bump github.com/alecthomas/go-check-sumtype from 0.2.0 to 0.3.1 (#5230)
- c882e89 build(deps): bump github.com/ashanbrown/makezero from 1.1.1 to 1.2.0 (#5181)
- acfb3be build(deps): bump github.com/bombsimon/wsl/v4 from 4.4.1 to 4.5.0 (#5262)
- 321e03f build(deps): bump github.com/butuzov/ireturn from 0.3.0 to 0.3.1 (#5188)
- 72bbc45 build(deps): bump github.com/butuzov/mirror from 1.2.0 to 1.3.0 (#5178)
- 06ffc05 build(deps): bump github.com/ckaznocha/intrange from 0.2.1 to 0.3.0 (#5203)
- a92ccc7 build(deps): bump github.com/curioswitch/go-reassign from 0.2.0 to 0.3.0 (#5176)
- 043275f build(deps): bump github.com/go-xmlfmt/xmlfmt from 1.1.2 to 1.1.3 (#5177)
- c8cf7a4 build(deps): bump github.com/jjti/go-spancheck from 0.6.2 to 0.6.4 (#5174)
- dafd655 build(deps): bump github.com/julz/importas from 0.1.0 to b26b8fc96f8a (#5219)
- b322a16 build(deps): bump github.com/julz/importas from 0.1.1-0.20241016092914-b26b8fc96f8a to 0.2.0 (#5256)
- d40b6da build(deps): bump github.com/ldez/gomoddirectives from 0.2.4 to 0.4.2 (#5175)
- 794a340 build(deps): bump github.com/ldez/gomoddirectives from 0.4.2 to 0.5.0 (#5187)
- 67825fe build(deps): bump github.com/ldez/gomoddirectives from 0.5.0 to 0.6.0 (#5196)
- 0c6bccb build(deps): bump github.com/ldez/grignotin from 0.6.0 to 0.7.0 (#5248)
- d74f1ae build(deps): bump github.com/ldez/tagliatelle from 0.5.0 to 0.6.0 (#5164)
- 59f05b5 build(deps): bump github.com/ldez/tagliatelle from 0.6.0 to 0.7.1 (#5204)
- 9686758 build(deps): bump github.com/ldez/usetesting from 0.2.0 to 0.2.1 (#5189)
- fc650e4 build(deps): bump github.com/ldez/usetesting from 0.2.1 to 0.2.2 (#5198)
- cf4c529 build(deps): bump github.com/ldez/usetesting from 0.2.2 to 0.3.0 (#5261)
- 30f4265 build(deps): bump github.com/ldez/usetesting from 0.3.0 to 0.4.0 (#5264)
- 8eb7bd8 build(deps): bump github.com/ldez/usetesting from 0.4.0 to 0.4.1 (#5266)
- a1d0762 build(deps): bump github.com/nunnatsa/ginkgolinter from 0.18.3 to 0.18.4 (#5217)
- 8a5d479 build(deps): bump github.com/raeperd/recvcheck from 0.1.2 to 0.2.0 (#5258)
- b26b5ae build(deps): bump github.com/sanposhiho/wastedassign/v2 from 2.0.7 to 2.1.0 (#5186)
- 11d508e build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.27.0 to 1.28.0 (#5263)
- 06648bc build(deps): bump github.com/shirou/gopsutil/v4 from 4.24.10 to 4.24.11 (#5180)
- 43a7560 build(deps): bump github.com/stbenjam/no-sprintf-host-port from 0.1.1 to 0.2.0 (#5161)
- 0a42d36 build(deps): bump github.com/tdakkota/asciicheck from 0.2.0 to 0.3.0 (#5163)
- 0b08f09 build(deps): bump github.com/tetafro/godot from 1.4.18 to 1.4.20 (#5247)
- b7b77ca build(deps): bump github.com/timakin/bodyclose from 574207250966 to ed6a65f985e (#5077)
- e1a63e3 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.9.0 to 2.10.0 (#5138)
- 966259a build(deps): bump github.com/ultraware/funlen from 0.1.0 to 0.2.0 (#5231)
- c16fb19 build(deps): bump github.com/ultraware/whitespace from 0.1.1 to 0.2.0 (#5244)
- 6a28e15 build(deps): bump github.com/uudashr/gocognit from 1.1.3 to 1.1.4 (#5195)
- 3bd5e21 build(deps): bump github.com/uudashr/gocognit from 1.1.4 to 1.2.0 (#5212)
- 0c54e1d build(deps): bump github.com/uudashr/iface from 1.2.1 to 1.3.0 (#5162)
- 3a293b6 build(deps): bump golang.org/x/sys from 0.27.0 to 0.28.0 (#5197)
- fa08d7b build(deps): bump golang.org/x/tools from 0.27.0 to 0.28.0 (#5199)
- bab25b4 build(deps): bump santhosh-tekuri/jsonschema/v5 to v6 (#5171)
- 5bd7e2a build(deps): bump the linter-testdata group across 3 directories with 6 updates (#5182)
- 618f29a build(deps): bump the linter-testdata group across 3 directories with 6 updates (#5268)
- c3e693d feat: add support for SuggestedFixes (#5232)
- 8e47515 feat: apply formatters after the suggested fixes (#5246)
- 286701c feat: disable timeout if timeout <= 0 (#5250)
- a27f475 feat: display linters help as JSON (#5209)
- 6bae718 feat: format fixed files with the same formatters as the issues related to formatting (#5267)
- f996a66 feat: improve formatter messages (#5243)
- 7806463 fix: enable paths with junction inside windows (#5245)
- 6b5f742 fix: improve Go version detection inside workspace (#5179)
- 93ffea1 fix: move uniq-by-line field from output to issues (#5253)
- e11de60 fix: remove decoder, sloglint, tagalin from 'format' preset (#5242)
- fe04b90 gci: add new option
- f5cca90 goheader: fix invalid position (#5238)
- 87ea9ef gosec: handling of global nosec option when it is false (#5228)
- a09d370 govet: add
stdversion
analyzer (#5160) - 6b000ab govet: fix stdversion (#5168)
- b2e24d6 importas: allow multiple empty aliases (#5222)
- 33c140e loggercheck: add missing slog option (#5155)