From 88c1b96da32c3e9eeed9748abdd467a6f132d28c Mon Sep 17 00:00:00 2001 From: atheesh Date: Thu, 15 Feb 2024 17:28:46 +0530 Subject: [PATCH] fix lint --- .github/linters/.golangci.yaml | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/.github/linters/.golangci.yaml b/.github/linters/.golangci.yaml index edd3df0d1..061bda7a3 100644 --- a/.github/linters/.golangci.yaml +++ b/.github/linters/.golangci.yaml @@ -7,6 +7,7 @@ linters: enable: - bodyclose - depguard + - depguard: - dogsled - errcheck - exportloopref @@ -66,28 +67,8 @@ linters-settings: 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"] depguard: - 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 + list-type: whitelist + packages: + - cosmossdk.io/errors + - filippo.io/edwards25519 + include-go-root: false