Feat/oracle reactor #7
Annotations
6 errors and 11 warnings
golangci-lint:
oracle/service/runner/runner.go#L8
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
|
golangci-lint:
oracle/reactor.go#L11
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
|
golangci-lint:
consensus/reactor.go#L22
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
|
golangci-lint:
oracle/service/runner/runner.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint:
cmd/cometbft/commands/compact.go#L18
ST1003: const flagDbNames should be flagDBNames (stylecheck)
|
golangci-lint
issues found
|
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6, 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/.
|
golangci-lint:
config/config.go#L847
var-naming: struct field RestApiAddress should be RestAPIAddress (revive)
|
golangci-lint:
libs/async/async_test.go#L110
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/async/async_test.go#L113
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/async/async_test.go#L116
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/clist/clist_test.go#L94
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/clist/clist_test.go#L143
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/cli/setup_test.go#L40
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/cli/setup_test.go#L98
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/cli/setup_test.go#L177
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/cli/setup_test.go#L214
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|