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