From 943d0d7bb8cc750dd45c22aefeefb07d100ace02 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Apr 2025 13:22:53 +0000 Subject: [PATCH 1/3] Bump golangci/golangci-lint-action from 6 to 7 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v7) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6cc393..2f87036 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,7 +77,7 @@ jobs: exit 1 fi - name: Lint - uses: golangci/golangci-lint-action@v6 + uses: golangci/golangci-lint-action@v7 with: version: v1.29 From 1defaef49984e694f66eca3ad91bcaca37b6827e Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Mon, 12 May 2025 13:29:14 +0100 Subject: [PATCH 2/3] Update linter version. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f87036..d43edd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@v7 with: - version: v1.29 + version: v2.1.6 licensedci: name: Check Licenses From 38015e27e96006bc418d8cfaf5ea03c3c4912a80 Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Mon, 12 May 2025 13:31:00 +0100 Subject: [PATCH 3/3] Migrate the linter configuration. --- .golangci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 6abeea5..1a1a59a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,4 +1,23 @@ +version: "2" linters: - disable-all: true + default: none + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling + paths: + - third_party$ + - builtin$ + - examples$ +formatters: enable: - goimports + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy