From 5bca4df9e7a6372619ec7f309972eac25ddc5fdd Mon Sep 17 00:00:00 2001 From: golangci-releaser <65486276+golangci-releaser@users.noreply.github.com> Date: Wed, 1 Jan 2025 21:33:31 +0000 Subject: [PATCH 1/3] [create-pull-request] automated change --- assets/linters-info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/linters-info.json b/assets/linters-info.json index b30f5f8d3405..e7016580813c 100644 --- a/assets/linters-info.json +++ b/assets/linters-info.json @@ -343,7 +343,7 @@ }, { "name": "gci", - "desc": "Checks if code and import statements are formatted, it makes import statements always deterministic.", + "desc": "the_only_doc", "loadMode": 8199, "inPresets": [ "format", From 84da1a700e96f7bfadc71315281df8de58b9ade1 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 1 Jan 2025 22:45:17 +0100 Subject: [PATCH 2/3] chore: fix linter info --- assets/linters-info.json | 2 +- pkg/golinters/gci/gci.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/linters-info.json b/assets/linters-info.json index e7016580813c..b30f5f8d3405 100644 --- a/assets/linters-info.json +++ b/assets/linters-info.json @@ -343,7 +343,7 @@ }, { "name": "gci", - "desc": "the_only_doc", + "desc": "Checks if code and import statements are formatted, it makes import statements always deterministic.", "loadMode": 8199, "inPresets": [ "format", diff --git a/pkg/golinters/gci/gci.go b/pkg/golinters/gci/gci.go index 39ca4100ae28..841ee81b0de5 100644 --- a/pkg/golinters/gci/gci.go +++ b/pkg/golinters/gci/gci.go @@ -38,7 +38,7 @@ func New(settings *config.GciSettings) *goanalysis.Linter { return goanalysis.NewLinter( linterName, - a.Doc, + "Checks if code and import statements are formatted, it makes import statements always deterministic.", []*analysis.Analyzer{a}, nil, ).WithContextSetter(func(lintCtx *linter.Context) { From 2fe27f7355b652d1c06b62981739780e816cdb14 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 1 Jan 2025 22:45:35 +0100 Subject: [PATCH 3/3] chore: add changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index be24a7065b25..1954497a8e32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ If you value it, consider supporting us, we appreciate it! ❤️ [![Open Collective backers and sponsors](https://img.shields.io/badge/OpenCollective-Donate-blue?logo=opencollective&style=for-the-badge)](https://opencollective.com/golangci-lint) [![GitHub Sponsors](https://img.shields.io/badge/GitHub-Donate-blue?logo=github&style=for-the-badge)](https://github.com/sponsors/golangci) +### v1.63.1 + +1. Linters bug fixes + * `cgi`: invalid reports with cgo + * `gofumpt`: panic with autofix and cgo + ### v1.63.0 1. Enhancements