From 193063eea47f3e531ece9fb88c6e26fb152af488 Mon Sep 17 00:00:00 2001 From: Sai Kumar <17549398+gsk967@users.noreply.github.com> Date: Wed, 7 Jun 2023 14:39:32 +0530 Subject: [PATCH] chore: disable the depguard linter temporarily (#2087) * try to fix the golanglint issues * ++ * disble depguard linter to golangci-lint * ++ * address the review comments --- .depguard.yaml | 9 +++++++++ .golangci.yml | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .depguard.yaml diff --git a/.depguard.yaml b/.depguard.yaml new file mode 100644 index 0000000000..389e0a8178 --- /dev/null +++ b/.depguard.yaml @@ -0,0 +1,9 @@ +Main: + files: + - $all + - "!$test" + allow: + - $gostd + - github.com/cosmos/** + - github.com/tendermint/** + - github.com/cosmos/cosmos-sdk \ No newline at end of file diff --git a/.golangci.yml b/.golangci.yml index d532e4682c..1f542c6c9a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -20,7 +20,8 @@ linters: # - wsl - asciicheck - bodyclose - - depguard + # TODO; we need re-enable this linter once golangci-lint or .depguard.yaml is done + # - depguard - dogsled - errcheck - exportloopref