Improve nats-js
store
#97
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
12 errors and 4 warnings
Summary
Process completed with exit code 1.
|
Lint:
context.go#L15
assignments should only be cuddled with other assignments (wsl)
|
Lint:
helpers_test.go#L14
import 'github.com/nats-io/nats-server/v2/server' is not allowed from list 'Main' (depguard)
|
Lint:
helpers_test.go#L15
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
|
Lint:
helpers_test.go#L16
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
|
Lint:
helpers_test.go#L20
test helper function should start from t.Helper() (thelper)
|
Lint:
helpers_test.go#L34
Error return value of `s.Close` is not checked (errcheck)
|
Lint:
helpers_test.go#L42
Error return value of `s.Close` is not checked (errcheck)
|
Lint:
helpers_test.go#L51
test helper function should start from t.Helper() (thelper)
|
Lint:
helpers_test.go#L53
Error return value of `strconv.Atoi` is not checked (errcheck)
|
Lint:
helpers_test.go#L75
Error return value of `net.Listen` is not checked (errcheck)
|
Unit Tests
Process completed with exit code 1.
|
Lint:
context.go#L1
package-comments: should have a package comment (revive)
|
Lint:
helpers_test.go#L133
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
helpers_test.go#L152
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
nats.go#L19
exported: exported var ErrBucketNotFound should have comment or be unexported (revive)
|