feat: expose nodeDB's DeleteVersionsFrom method #5
Annotations
10 errors and 11 warnings
golangci-lint:
internal/bytes/bytes.go#L60
Error return value of `s.Write` is not checked (errcheck)
|
golangci-lint:
internal/bytes/bytes.go#L62
Error return value of `s.Write` is not checked (errcheck)
|
golangci-lint:
benchmarks/bench_test.go#L351
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
nodedb.go#L482
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
nodedb.go#L494
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
nodedb.go#L568
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
nodedb.go#L1081
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
nodedb.go#L1104
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
mutable_tree.go#L961
directive `// nolint: unused` is unused for linter "unused" (nolintlint)
|
golangci-lint
issues found
|
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, 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:
internal/rand/random.go#L100
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
golangci-lint:
keyformat/key_format.go#L122
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
|
golangci-lint:
benchmarks/bench_test.go#L211
redefines-builtin-id: redefinition of the built-in function real (revive)
|
golangci-lint:
benchmarks/bench_test.go#L359
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
golangci-lint:
mutable_tree_test.go#L86
empty-block: this block is empty, you can remove it (revive)
|
golangci-lint:
mutable_tree_test.go#L109
empty-block: this block is empty, you can remove it (revive)
|
golangci-lint:
import_test.go#L14
empty-block: this block is empty, you can remove it (revive)
|
golangci-lint:
export.go#L93
empty-block: this block is empty, you can remove it (revive)
|
golangci-lint:
import_test.go#L19
empty-block: this block is empty, you can remove it (revive)
|
golangci-lint:
import_test.go#L24
empty-block: this block is empty, you can remove it (revive)
|