From 947920d4f5f68e00a134c6bd9b6b1554ffe36e93 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 22 Nov 2022 14:20:11 +0100 Subject: [PATCH] Revert "warn about function argument count over 5 (#558)" (#620) This reverts commit 1110ccd2701d8b4bcc0ba84f96b3ad704f8b245d. --- .github/workflows/test-lint.yml | 1 - .golangci.yml | 7 ------- 2 files changed, 8 deletions(-) diff --git a/.github/workflows/test-lint.yml b/.github/workflows/test-lint.yml index 4e1a1a8b6..1d02e6729 100644 --- a/.github/workflows/test-lint.yml +++ b/.github/workflows/test-lint.yml @@ -54,4 +54,3 @@ jobs: skip-pkg-cache: true skip-build-cache: true args: --timeout=15m ${{ steps.submods.outputs.submods }} - only-new-issues: true diff --git a/.golangci.yml b/.golangci.yml index 09ae08d79..6bb45a11d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -46,10 +46,3 @@ linters-settings: exclude-functions: - (*go.uber.org/zap.Logger).Sync - (*google.golang.org/grpc.Server).Serve - revive: - rules: - - name: argument-limit - disabled: false - arguments: - - 5 - severity: warning