Skip to content

Commit

Permalink
Config depguard
Browse files Browse the repository at this point in the history
  • Loading branch information
batphonghan committed Oct 20, 2023
1 parent a81aa5a commit 51a7289
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .depguard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Main:
files:
- $all
- "!$test"
allow:
- $gostd
- github.com/stader-labs/stader-node/stader-lib/node
- github.com/stader-labs/stader-node/shared/utils/eth1
- github.com/stader-labs/stader-node/shared/types/stader-backend
- github.com/stader-labs/stader-node/shared/utils/cli
deny:
reflect: Please don't use reflect package
Test:
files:
- $test
allow:
- $gostd
- github.com/stretchr/testify
deny:
reflect: Please don't use reflect package

0 comments on commit 51a7289

Please sign in to comment.