try fix lint #3416
Annotations
10 errors and 11 warnings
Run golangci-lint:
x/resource/utils/media_type_test.go#L7
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
Run golangci-lint:
x/did/utils/crypto.go#L13
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
Run golangci-lint:
x/did/utils/crypto_test.go#L3
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
Run golangci-lint:
x/did/tests/create_diddoc_test.go#L505
string `a86f9cae-0902-4a7c-a144-96b60ced2fc9` has 4 occurrences, make it a constant (goconst)
|
Run golangci-lint:
x/did/tests/create_diddoc_test.go#L25
string `#key-1` has 12 occurrences, make it a constant (goconst)
|
Run golangci-lint:
x/did/tests/create_diddoc_test.go#L170
string `#key-2` has 5 occurrences, make it a constant (goconst)
|
Run golangci-lint:
x/did/types/diddoc_verification_method_test.go#L191
string `tempor incididunt ut labore et dolore magna aliqua.` has 3 occurrences, make it a constant (goconst)
|
Run golangci-lint:
x/did/types/tx_msg_create_diddoc_payload_test.go#L18
string `#key1` has 8 occurrences, make it a constant (goconst)
|
Run golangci-lint:
x/did/types/diddoc_verification_method_test.go#L190
string `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod ` has 3 occurrences, make it a constant (goconst)
|
Run golangci-lint:
x/resource/keeper/keeper_resource.go#L87
string `resource ` has 3 occurrences, make it a constant (goconst)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run golangci-lint:
tests/integration/integration_suite_test.go#L6
dot-imports: should not use dot imports (revive)
|
Run golangci-lint:
tests/integration/integration_suite_test.go#L7
dot-imports: should not use dot imports (revive)
|
Run golangci-lint:
x/resource/utils/utils_suite_test.go#L6
dot-imports: should not use dot imports (revive)
|
Run golangci-lint:
x/did/client/cli/tx.go#L173
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
Run golangci-lint:
x/did/module.go#L68
unused-parameter: parameter 'config' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/resource/types/packet.go#L9
var-naming: struct field ResourceId should be ResourceID (revive)
|
Run golangci-lint:
x/resource/types/packet.go#L12
var-naming: struct field CollectionId should be CollectionID (revive)
|
Run golangci-lint:
ante/fee.go#L152
unused-parameter: parameter 'burn' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
ante/feedistrib.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
ante/tx_msg_filters.go#L89
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading