use wazero #401
Annotations
10 errors and 11 warnings
lint:
internal/api/lib.go#L60
Error return value of `unix.Flock` is not checked (errcheck)
|
lint:
internal/api/lib.go#L78
Error return value of `unix.Flock` is not checked (errcheck)
|
lint:
internal/api/mocks.go#L529
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
internal/api/lib_test.go#L1364
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
internal/runtime/hostfunctions.go#L382
func `hostNextValue` is unused (unused)
|
lint:
ibc_test.go#L110
empty: use require.Empty (testifylint)
|
lint:
ibc_test.go#L133
len: use require.Len (testifylint)
|
lint:
ibc_test.go#L201
len: use require.Len (testifylint)
|
lint:
ibc_test.go#L238
len: use require.Len (testifylint)
|
lint:
ibc_test.go#L333
expected-actual: need to reverse actual and expected values (testifylint)
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
internal/api/testdb/memdb_iterator.go#L108
empty-block: this block is empty, you can remove it (revive)
|
lint:
internal/runtime/hostfunctions.go#L527
var-naming: don't use underscores in Go names; func parameter hash_ptr should be hashPtr (revive)
|
lint:
internal/runtime/hostfunctions.go#L583
var-naming: don't use underscores in Go names; func parameter hash_ptr should be hashPtr (revive)
|
lint:
internal/runtime/hostfunctions.go#L620
var-naming: don't use underscores in Go names; func parameter msg_ptr should be msgPtr (revive)
|
lint:
internal/runtime/hostfunctions.go#L655
var-naming: don't use underscores in Go names; func parameter msgs_ptr should be msgsPtr (revive)
|
lint:
internal/runtime/wazeroruntime.go#L191
error-return: error should be the last type when returning multiple items (revive)
|
lint:
internal/runtime/wazeroruntime.go#L560
error-return: error should be the last type when returning multiple items (revive)
|
lint:
internal/runtime/hostfunctions.go#L754
context-keys-type: should not use basic type string as key in context.WithValue (revive)
|
lint:
internal/runtime/hostfunctions.go#L763
context-keys-type: should not use basic type string as key in context.WithValue (revive)
|
lint:
internal/runtime/hostfunctions.go#L771
context-keys-type: should not use basic type string as key in context.WithValue (revive)
|