Skip to content

Commit

Permalink
update linter verison
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Oct 27, 2023
1 parent 18af82d commit f96d6df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,6 @@ linters-settings:
allow-leading-space: true
require-explanation: false
require-specific: false

service:
golangci-lint-version: 1.52.x
6 changes: 0 additions & 6 deletions x/onft/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ func NewTxCmd() *cobra.Command {
return txCmd
}

//nolintlint:goconst
func GetCmdCreateDenom() *cobra.Command {
cmd := &cobra.Command{
Use: "create [symbol]",
Expand Down Expand Up @@ -122,7 +121,6 @@ $ %s tx onft create [symbol] --name=<name> --schema=<schema> --description=<desc
return cmd
}

//nolintlint:goconst
func GetCmdMintONFT() *cobra.Command {
cmd := &cobra.Command{
Use: "mint [denom-id]",
Expand Down Expand Up @@ -277,7 +275,6 @@ Additional Flags
return cmd
}

//nolintlint:goconst
func GetCmdUpdateDenom() *cobra.Command {
cmd := &cobra.Command{
Use: "update-denom [denom-id]",
Expand Down Expand Up @@ -331,7 +328,6 @@ $ %s tx onft update-denom [denom-id] --name=<onft-name> --description=<onft-desc
return cmd
}

//nolintlint:goconst
func GetCmdTransferDenom() *cobra.Command {
cmd := &cobra.Command{
Use: "transfer-denom [recipient] [denom-id]",
Expand Down Expand Up @@ -373,7 +369,6 @@ $ %s tx onft transfer-denom [recipient] [denom-id] --from=<key-name> --chain-id=
return cmd
}

//nolintlint:goconst
func GetCmdTransferONFT() *cobra.Command {
cmd := &cobra.Command{
Use: "transfer [recipient] [denom-id] [onft-id]",
Expand Down Expand Up @@ -417,7 +412,6 @@ $ %s tx onft transfer [recipient] [denom-id] [onft-id] --from=<key-name> --chain
return cmd
}

//nolintlint:goconst
func GetCmdBurnONFT() *cobra.Command {
cmd := &cobra.Command{
Use: "burn [denom-id] [onft-id]",
Expand Down

0 comments on commit f96d6df

Please sign in to comment.