Skip to content

Commit

Permalink
try fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
atheeshp committed Feb 15, 2024
1 parent 4645640 commit ba2bcd3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/linters/.golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,22 @@ run:
linters:
disable-all: true
enable:
- bodyclose
- depguard
- dogsled
- errcheck
- exportloopref
- goconst
- gocritic
- gci
- gofumpt
- gofmt
- goimports
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- nestif
- nolintlint
- staticcheck
- revive
- stylecheck
- typecheck
- unconvert
Expand Down Expand Up @@ -64,6 +62,3 @@ linters-settings:
- "github.com/onsi/gomega"
# https://staticcheck.io/docs/configuration/options/#initialisms
initialisms: ["ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS", "SIP", "RTP", "AMQP", "DB", "TS"]

depgaurd:
allow-all: true
25 changes: 25 additions & 0 deletions .github/linters/depguard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Main:
- Disallowed:
- filippo.io/edwards25519
- github.com/lestrrat-go/jwx/jwk
- github.com/mr-tron/base58
- github.com/multiformats/go-multibase
- github.com/cometbft/cometbft/types
- github.com/google/uuid
- github.com/cosmos/cosmos-sdk/codec
- github.com/cosmos/cosmos-sdk/codec/types
- github.com/cosmos/cosmos-sdk/types
- github.com/cosmos/cosmos-sdk/types/msgservice
- github.com/cheqd/cheqd-node/x/did/utils
- github.com/go-ozzo/ozzo-validation/v4
- cosmossdk.io/errors
- github.com/cosmos/cosmos-sdk/x/params/types
- github.com/cosmos/ibc-go/v7/modules/core/03-connection/types
- github.com/cosmos/ibc-go/v7/modules/core/04-channel/types
- github.com/cosmos/cosmos-sdk/x/capability/types
- github.com/cheqd/cheqd-node/x/did/types
- github.com/gabriel-vasile/mimetype
- github.com/cheqd/cheqd-node/x/resource/types
- github.com/cheqd/cheqd-node/x/resource/utils
- github.com/cometbft/cometbft/libs/log
- github.com/cosmos/cosmos-sdk/store/types

0 comments on commit ba2bcd3

Please sign in to comment.