Skip to content

Commit

Permalink
chore: disable the depguard linter temporarily (#2087)
Browse files Browse the repository at this point in the history
* try to fix the golanglint issues

* ++

* disble depguard linter to golangci-lint

* ++

* address the review comments
  • Loading branch information
gsk967 authored Jun 7, 2023
1 parent 81d2d73 commit 193063e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .depguard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Main:
files:
- $all
- "!$test"
allow:
- $gostd
- github.com/cosmos/**
- github.com/tendermint/**
- github.com/cosmos/cosmos-sdk
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 193063e

Please sign in to comment.