chore(lint): enable additional golangci-lint rules and fix all findin… #131
Annotations
7 errors
|
Lint
issues found
|
|
Lint:
cmd/submit_internal_test.go#L303
error-format: fmt.Errorf can be replaced with errors.New (perfsprint)
|
|
Lint:
cmd/submit_internal_test.go#L298
error-format: fmt.Errorf can be replaced with errors.New (perfsprint)
|
|
Lint:
cmd/submit_internal_test.go#L293
error-format: fmt.Errorf can be replaced with errors.New (perfsprint)
|
|
Lint:
cmd/submit_internal_test.go#L288
error-format: fmt.Errorf can be replaced with errors.New (perfsprint)
|
|
Lint:
cmd/submit.go#L73
error-format: fmt.Errorf can be replaced with errors.New (perfsprint)
|
|
Lint:
cmd/submit.go#L129
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage
|
10.3 KB |
sha256:fa425e46554ecbec25bc15d672f275095d27532df6459b71c452383f632acf62
|
|