From c06c8b0217756dc96ebbe8e7a8c3cfeeaea50d76 Mon Sep 17 00:00:00 2001 From: Brandon LeBlanc Date: Fri, 31 Oct 2025 18:45:38 +0000 Subject: [PATCH] chore: update .golangci.yaml --- .github/.golangci.yaml.patch | 12 ++++++------ ffi/.golangci.yaml | 5 +++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/.golangci.yaml.patch b/.github/.golangci.yaml.patch index 9580ebf138..07c093fc0d 100644 --- a/.github/.golangci.yaml.patch +++ b/.github/.golangci.yaml.patch @@ -1,6 +1,6 @@ ---- .github/.golangci.yaml 2025-10-29 08:30:25 -+++ ffi/.golangci.yaml 2025-10-29 08:30:25 -@@ -70,8 +70,6 @@ +--- .github/.golangci.yaml 2025-10-31 18:45:07.201781593 +0000 ++++ ffi/.golangci.yaml 2025-10-31 18:45:07.200643422 +0000 +@@ -75,8 +75,6 @@ rules: packages: deny: @@ -9,7 +9,7 @@ - pkg: github.com/golang/mock/gomock desc: go.uber.org/mock/gomock should be used instead. - pkg: github.com/stretchr/testify/assert -@@ -86,29 +84,10 @@ +@@ -91,29 +89,10 @@ forbidigo: # Forbid the following identifiers (list of regexp). forbid: @@ -39,7 +39,7 @@ revive: rules: # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#bool-literal-in-expr -@@ -172,17 +151,6 @@ +@@ -177,17 +156,6 @@ # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#useless-break - name: useless-break disabled: false @@ -57,7 +57,7 @@ tagalign: align: true sort: true -@@ -245,7 +213,7 @@ +@@ -250,7 +218,7 @@ - standard - default - blank diff --git a/ffi/.golangci.yaml b/ffi/.golangci.yaml index d56130539e..0dc1e6a6c0 100644 --- a/ffi/.golangci.yaml +++ b/ffi/.golangci.yaml @@ -33,19 +33,23 @@ linters: default: none enable: - asciicheck + - bidichk - bodyclose - copyloopvar - depguard + - durationcheck - errcheck - errorlint - forbidigo - goconst + - gocheckcompilerdirectives - gocritic - goprintffuncname - gosec - govet - importas - ineffassign + - mirror - misspell - nakedret - nilerr @@ -54,6 +58,7 @@ linters: - perfsprint - prealloc - predeclared + - reassign - revive - spancheck - staticcheck