Improve nats-js
store
#98
Annotations
10 errors and 4 warnings
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)
|
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)
|