diff --git a/.golangci.yml b/.golangci.yml index 8c6dc592..54e8749b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -44,7 +44,7 @@ issues: text: "SA1019:" linters: - staticcheck - - path: "client" + - path: "cli" text: "use of repeated strings" linters: - goconst diff --git a/x/onft/client/cli/tx.go b/x/onft/client/cli/tx.go index 57ee04e5..2e24bf50 100644 --- a/x/onft/client/cli/tx.go +++ b/x/onft/client/cli/tx.go @@ -35,6 +35,7 @@ func NewTxCmd() *cobra.Command { return txCmd } +//nolintlint:goconst func GetCmdCreateDenom() *cobra.Command { cmd := &cobra.Command{ Use: "create [symbol]", @@ -121,6 +122,7 @@ $ %s tx onft create [symbol] --name= --schema= --description= --description= --chain-id= return cmd } +//nolintlint:goconst func GetCmdTransferONFT() *cobra.Command { cmd := &cobra.Command{ Use: "transfer [recipient] [denom-id] [onft-id]", @@ -412,6 +417,7 @@ $ %s tx onft transfer [recipient] [denom-id] [onft-id] --from= --chain return cmd } +//nolintlint:goconst func GetCmdBurnONFT() *cobra.Command { cmd := &cobra.Command{ Use: "burn [denom-id] [onft-id]",