From e5f1a0aad0accdff7dc9131fdcce912e28d8f4d5 Mon Sep 17 00:00:00 2001 From: apoorvajagtap Date: Tue, 19 Mar 2024 23:44:15 +0530 Subject: [PATCH] excludes errchecks linter --- .github/workflows/verify.yml | 1 - .golangci.yml | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index a3eb74b..8a82fcc 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -29,4 +29,3 @@ jobs: uses: golangci/golangci-lint-action@v3 with: version: v1.53 - args: --timeout=5m diff --git a/.golangci.yml b/.golangci.yml index 3488213..23d25f5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,13 @@ run: skip-dirs: - examples/*.go + timeout: "5m" + # will not run golangci-lint against *_test.go + tests: false +issues: + exclude-rules: + # excluding error checks from all the .go files + - path: ./*.go + linters: + - errcheck +