try lint #3418
Annotations
10 errors and 1 warning
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/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/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/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/resource/keeper/keeper_resource.go#L87
string `resource ` has 3 occurrences, make it a constant (goconst)
|
Run golangci-lint:
tests/upgrade/integration/v1/cli/tx_did.go#L49
string `' > payload.json` has 3 occurrences, make it a constant (goconst)
|
Run golangci-lint:
tests/upgrade/integration/v2/cli/tx_did.go#L29
string `' > payload.json` has 3 occurrences, make it a constant (goconst)
|
Run golangci-lint:
tests/integration/helpers/event.go#L24
unnecessary conversion (unconvert)
|
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/.
|
Loading