Skip to content

Coverage

Coverage #146

Triggered via push November 11, 2024 05:08
Status Failure
Total duration 21s
Artifacts

push.yml

on: push
Lint, build, and test on node 20.x and ubuntu-latest
12s
Lint, build, and test on node 20.x and ubuntu-latest
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
Lint, build, and test on node 20.x and ubuntu-latest: src/bai.ts#L43
This assertion is unnecessary since it does not change the type of the expression
Lint, build, and test on node 20.x and ubuntu-latest: src/bai.ts#L43
Prefer the safe `: unknown` for a `catch` callback variable
Lint, build, and test on node 20.x and ubuntu-latest: src/bai.ts#L53
A record is preferred over an index signature
Lint, build, and test on node 20.x and ubuntu-latest: src/bai.ts#L74
A record is preferred over an index signature
Lint, build, and test on node 20.x and ubuntu-latest: src/bai.ts#L137
This `if` statement can be replaced by a ternary expression
Lint, build, and test on node 20.x and ubuntu-latest: src/bai.ts#L204
Expected a `for-of` loop instead of a `for` loop with this simple iteration
Lint, build, and test on node 20.x and ubuntu-latest: src/indexFile.ts#L52
Prefer the safe `: unknown` for a `catch` callback variable
Lint, build, and test on node 20.x and ubuntu-latest: src/indexFile.ts#L61
Prefer using an optional chain expression instead, as it's more concise and easier to read
Lint, build, and test on node 20.x and ubuntu-latest
Process completed with exit code 1.
Lint, build, and test on node 20.x and ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint, build, and test on node 20.x and ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint, build, and test on node 20.x and ubuntu-latest: src/bai.ts#L31
'opts' is assigned a value but never used. Allowed unused args must match /^_/u
Lint, build, and test on node 20.x and ubuntu-latest: src/bai.ts#L121
'opts' is assigned a value but never used. Allowed unused args must match /^_/u
Lint, build, and test on node 20.x and ubuntu-latest: src/bai.ts#L180
'opts' is assigned a value but never used. Allowed unused args must match /^_/u