This repository has been archived by the owner on May 29, 2024. It is now read-only.
withdrawal_safety
heuristic
#311
Annotations
9 errors and 1 warning
internal/engine/registry/withdrawal_safety.go#L66
unnecessary leading newline (whitespace)
|
internal/common/math.go#L8
mnd: Magic number: 100, in <argument> detected (gomnd)
|
internal/engine/registry/withdrawal_safety.go#L173
mnd: Magic number: 5, in <argument> detected (gomnd)
|
internal/engine/engine.go#L105
mnd: Magic number: 10, in <argument> detected (gomnd)
|
internal/engine/engine.go#L104
mnd: Magic number: 1000, in <assign> detected (gomnd)
|
internal/engine/registry/withdrawal_safety.go#L86
ineffectual assignment to err (ineffassign)
|
internal/engine/heuristic/heuristic.go#L68
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
|
internal/engine/engine.go#L110
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
|
|
internal/engine/heuristic/heuristic.go#L67
unused-parameter: parameter 'td' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading