Bump semver from 5.7.1 to 5.7.2 in /plugins/dashboard/frontend #4
Annotations
9 errors and 1 warning
GolangCI-Lint:
plugins/profiling/plugin.go#L42
[golangci] reported by reviewdog 🐶
Error return value of `http.ListenAndServe` is not checked (errcheck)
Raw Output:
plugins/profiling/plugin.go:42:24: Error return value of `http.ListenAndServe` is not checked (errcheck)
go http.ListenAndServe(bindAddr, nil)
^
|
GolangCI-Lint:
plugins/gracefulshutdown/plugin.go#L58
[golangci] reported by reviewdog 🐶
Error return value of `(*runtime/pprof.Profile).WriteTo` is not checked (errcheck)
Raw Output:
plugins/gracefulshutdown/plugin.go:58:39: Error return value of `(*runtime/pprof.Profile).WriteTo` is not checked (errcheck)
pprof.Lookup("goroutine").WriteTo(os.Stdout, 2)
^
|
GolangCI-Lint:
client/wallet/wallet.go#L405
[golangci] reported by reviewdog 🐶
Error return value of `wallet.assetRegistry.RegisterAsset` is not checked (errcheck)
Raw Output:
client/wallet/wallet.go:405:37: Error return value of `wallet.assetRegistry.RegisterAsset` is not checked (errcheck)
wallet.assetRegistry.RegisterAsset(assetColor, asset)
^
|
GolangCI-Lint:
tools/rand-seed/main.go#L35
[golangci] reported by reviewdog 🐶
unslice: could simplify b[:] to b (gocritic)
Raw Output:
tools/rand-seed/main.go:35:35: unslice: could simplify b[:] to b (gocritic)
pk := ed25519.PrivateKeyFromSeed(b[:])
^
|
GolangCI-Lint:
plugins/portcheck/plugin.go#L89
[golangci] reported by reviewdog 🐶
exitAfterDefer: log.Fatalf will exit, and `defer disc.Close()` will not run (gocritic)
Raw Output:
plugins/portcheck/plugin.go:89:3: exitAfterDefer: log.Fatalf will exit, and `defer disc.Close()` will not run (gocritic)
log.Fatalf("Please check that %s is publicly reachable at port %d/%s",
^
|
GolangCI-Lint:
tools/cli-wallet/balance.go#L13
[golangci] reported by reviewdog 🐶
cyclomatic complexity 35 of func `execBalanceCommand` is high (> 30) (gocyclo)
Raw Output:
tools/cli-wallet/balance.go:13:1: cyclomatic complexity 35 of func `execBalanceCommand` is high (> 30) (gocyclo)
func execBalanceCommand(command *flag.FlagSet, cliWallet *wallet.Wallet) {
^
|
GolangCI-Lint:
plugins/overflowmessenger/plugin.go#L5
[golangci] reported by reviewdog 🐶
File is not `goimports`-ed with -local github.com/iotaledger (goimports)
Raw Output:
plugins/overflowmessenger/plugin.go:5: File is not `goimports`-ed with -local github.com/iotaledger (goimports)
|
GolangCI-Lint:
plugins/metrics/plugin.go#L154
[golangci] reported by reviewdog 🐶
unnecessary trailing newline (whitespace)
Raw Output:
plugins/metrics/plugin.go:154: unnecessary trailing newline (whitespace)
}
|
GolangCI-Lint
reviewdog exited with status code: 1
|
GolangCI-Lint
Unexpected input(s) 'version', valid inputs are ['github_token', 'golangci_lint_flags', 'tool_name', 'level', 'reporter', 'filter_mode', 'fail_on_error', 'reviewdog_flags', 'workdir', 'reviewdog_version', 'golangci_lint_version', 'go_version', 'go_version_file', 'cache']
|