Add golangci-lint #551
Annotations
2 errors and 10 warnings
|
Lint
issues found
|
Lint:
internal/smux/stream.go#L150
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
Lint:
types/encoding.go#L449
modifies-value-receiver: suspicious assignment to a by-value method receiver (revive)
|
Lint:
types/policy.go#L116
modifies-value-receiver: suspicious assignment to a by-value method receiver (revive)
|
Lint:
types/policy.go#L140
modifies-value-receiver: suspicious assignment to a by-value method receiver (revive)
|
Lint:
types/policy.go#L215
modifies-value-receiver: suspicious assignment to a by-value method receiver (revive)
|
Lint:
types/currency.go#L245
modifies-value-receiver: suspicious assignment to a by-value method receiver (revive)
|
Lint:
types/currency.go#L66
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Lint:
rhp/v3/registry.go#L97
unnecessary-stmt: omit unnecessary break at the end of case clause (revive)
|
Lint:
chain/db.go#L680
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Lint:
gateway/gateway.go#L71
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)
|
The logs for this run have expired and are no longer available.
Loading