chore(deps): update golangci-lint-major to v2 (major)
This MR contains the following updates:
| Package | Update | Change |
|---|---|---|
| golangci-lint | major |
1.64 -> 2.4
|
| golangci/golangci-lint | major |
1.64 -> 2.4
|
View the Renovate pipeline for this MR
Release Notes
golangci/golangci-lint (golangci-lint)
v2.4
- Enhancements
-
🎉 go1.25 support
-
- Linters new features or changes
-
exhaustruct: from v3.3.1 to 4.0.0 (new options:allow-empty,allow-empty-rx,allow-empty-returns,allow-empty-declarations)
-
- Linters bug fixes
-
godox: trim filepath from report messages -
staticcheck: allow empty options -
tagalign: from 1.4.2 to 1.4.3
-
- Documentation
-
🌟 New website (with a search engine)
-
v2.3
- Linters bug fixes
-
gci: from 0.13.6 to 0.13.7 -
gosec: from 2.22.6 to 2.22.7 -
noctx: from 0.3.5 to 0.4.0 -
wsl: from 5.1.0 to 5.1.1 - tagliatelle: force upper case for custom initialisms
-
v2.2
- Linters bug fixes
-
noinlineerr: from 1.0.3 to 1.0.4
-
- Documentation
- Improve debug keys documentation
- Misc.
- fix: panic close of closed channel
- godot: add noinline value into the JSONSchema
v2.1
- Linters bug fixes
-
varnamelen: fix configuration
v2.0
- New linters
- Add
arangolintlinter https://github.com/Crocmagnon/arangolint - Add
embeddedstructfieldchecklinter https://github.com/manuelarte/embeddedstructfieldcheck - Add
noinlineerrlinter https://github.com/AlwxSin/noinlineerr - Add
swaggoformatter https://github.com/golangci/swaggoswag
- Add
- Linters new features or changes
-
errcheck: addverboseoption -
funcorder: from 0.2.1 to 0.5.0 (new optionalphabetical) -
gomoddirectives: from 0.6.1 to 0.7.0 (new optionignore-forbidden) -
iface: from 1.3.1 to 1.4.0 (new optionunexported) -
noctx: from 0.1.0 to 0.3.3 (new report messages, and new rules related todatabase/sql) -
noctx: from 0.3.3 to 0.3.4 (new SQL functions detection) -
revive: from 1.9.0 to 1.10.0 (new rules:time-date,unnecessary-format,use-fmt-print) -
usestdlibvars: from 1.28.0 to 1.29.0 (new optiontime-date-month) -
wsl: deprecation -
wsl_v5: from 4.7.0 to 5.0.0 (major version with new configuration)
-
- Linters bug fixes
-
dupword: from 0.1.3 to 0.1.6 -
exptostd: from 0.4.3 to 0.4.4 -
forbidigo: from 1.6.0 to 2.1.0 -
gci: consistently format the code -
go-spancheck: from 0.6.4 to 0.6.5 -
goconst: from 1.8.1 to 1.8.2 -
gosec: from 2.22.3 to 2.22.4 -
gosec: from 2.22.4 to 2.22.5 -
makezero: from 1.2.0 to 2.0.1 -
misspell: from 0.6.0 to 0.7.0 -
usetesting: from 0.4.3 to 0.5.0
-
- Misc.
- exclusions: fix
path-expect - formatters: write the input to
stdoutwhen usingstdinand there are no changes - migration: improve the error message when trying to migrate a migrated config
-
typecheck: deduplicate errors -
typecheck: stops the analysis after the first error - Deprecate
print-resources-usageflag - Unique version per custom build
- exclusions: fix
- Documentation
- Improves typecheck FAQ
- Adds plugin systems recommendations
- Add description for
linters.defaultsets
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Runway Renovate Robot