Skip to content

refactor(db): improve error reporting and code clean up #383

refactor(db): improve error reporting and code clean up

refactor(db): improve error reporting and code clean up #383

Triggered via pull request June 26, 2024 17:07
Status Success
Total duration 5m 2s
Artifacts

ci.yml

on: pull_request
Matrix: build_and_test
build_docs
0s
build_docs
publish
0s
publish
Deploy documentation
0s
Deploy documentation
Fit to window
Zoom out
Zoom in

Annotations

20 errors
build_and_test (lts/*): pkg/core/src/plugin.ts#L400
Unexpected any. Specify a different type
build_and_test (lts/*): pkg/core/src/plugin.ts#L456
Unexpected any. Specify a different type
build_and_test (lts/*): pkg/core/src/plugin.ts#L492
Unexpected any. Specify a different type
build_and_test (lts/*): pkg/core/src/plugin.ts#L595
Unexpected any. Specify a different type
build_and_test (lts/*): pkg/core/src/slangroom.ts#L159
'boldError' is never reassigned. Use 'const' instead
build_and_test (lts/*): pkg/core/src/slangroom.ts#L171
'err' is never reassigned. Use 'const' instead
build_and_test (lts/*): pkg/db/src/plugin.ts#L56
Unexpected any. Specify a different type
build_and_test (lts/*): pkg/db/test/e2e.ts#L19
Unexpected control character(s) in regular expression: \x1b
build_and_test (lts/*): pkg/db/test/e2e.ts#L55
Unnecessary try/catch wrapper
build_and_test (lts/*): pkg/db/test/e2e.ts#L90
Unnecessary try/catch wrapper
build_and_test (22.2.0): pkg/core/src/plugin.ts#L400
Unexpected any. Specify a different type
build_and_test (22.2.0): pkg/core/src/plugin.ts#L456
Unexpected any. Specify a different type
build_and_test (22.2.0): pkg/core/src/plugin.ts#L492
Unexpected any. Specify a different type
build_and_test (22.2.0): pkg/core/src/plugin.ts#L595
Unexpected any. Specify a different type
build_and_test (22.2.0): pkg/core/src/slangroom.ts#L159
'boldError' is never reassigned. Use 'const' instead
build_and_test (22.2.0): pkg/core/src/slangroom.ts#L171
'err' is never reassigned. Use 'const' instead
build_and_test (22.2.0): pkg/db/src/plugin.ts#L56
Unexpected any. Specify a different type
build_and_test (22.2.0): pkg/db/test/e2e.ts#L19
Unexpected control character(s) in regular expression: \x1b
build_and_test (22.2.0): pkg/db/test/e2e.ts#L55
Unnecessary try/catch wrapper
build_and_test (22.2.0): pkg/db/test/e2e.ts#L90
Unnecessary try/catch wrapper