Skip to content

chore(binding-coap): enable strict-boolean-expressions and null checks #1922

chore(binding-coap): enable strict-boolean-expressions and null checks

chore(binding-coap): enable strict-boolean-expressions and null checks #1922

Triggered via pull request September 18, 2023 06:24
Status Failure
Total duration 2m 51s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yaml

on: pull_request
eslint
1m 40s
eslint
Check version consistency of packages
10s
Check version consistency of packages
Check coding style
13s
Check coding style
Matrix: setup-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
eslint: packages/binding-coap/src/coap-client.ts#L120
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/binding-coap/src/coap-client.ts#L120
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/binding-coap/src/coap-client.ts#L163
Unexpected value in conditional. A boolean expression is required
eslint: packages/binding-coap/src/coap-client.ts#L206
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
eslint: packages/binding-coap/src/coap-client.ts#L207
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
eslint: packages/binding-coap/src/coap-client.ts#L208
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
eslint: packages/binding-coap/src/coap-client.ts#L209
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
eslint: packages/binding-coap/src/coap-server.ts#L351
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/binding-coap/src/coap-server.ts#L376
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/binding-coap/src/coap-server.ts#L400
Unexpected any value in conditional. An explicit comparison or type cast is required
Check version consistency of packages
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/
Check coding style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actionsx/prettier@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
eslint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
setup-and-test (ubuntu-latest, 20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
setup-and-test (ubuntu-latest, 18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/