Skip to content

chore(td-tools): enable eslint/strict-boolean-expressions and strictNullChecks #1897

chore(td-tools): enable eslint/strict-boolean-expressions and strictNullChecks

chore(td-tools): enable eslint/strict-boolean-expressions and strictNullChecks #1897

Triggered via pull request September 12, 2023 08:04
Status Failure
Total duration 6h 0m 53s
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
2m 19s
eslint
Check version consistency of packages
8s
Check version consistency of packages
Check coding style
13s
Check coding style
Matrix: setup-and-test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 8 warnings
eslint: packages/td-tools/src/util/asset-interface-description.ts#L135
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
eslint: packages/td-tools/src/util/asset-interface-description.ts#L221
Unexpected object value in conditional. The condition is always true
eslint: packages/td-tools/src/util/asset-interface-description.ts#L223
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
eslint: packages/td-tools/src/util/asset-interface-description.ts#L237
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/util/asset-interface-description.ts#L249
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/util/asset-interface-description.ts#L267
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/util/asset-interface-description.ts#L271
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/util/asset-interface-description.ts#L273
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/util/asset-interface-description.ts#L278
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/util/asset-interface-description.ts#L298
Unexpected any value in conditional. An explicit comparison or type cast is required
setup-and-test (ubuntu-latest, 16.x)
The operation was canceled.
setup-and-test (ubuntu-latest, 18.x)
The operation was canceled.
setup-and-test (ubuntu-latest, 20.x)
The operation was canceled.
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/
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/
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/
eslint: packages/binding-netconf/src/async-node-netconf.ts#L109
Forbidden non-null assertion
eslint: packages/binding-netconf/src/async-node-netconf.ts#L110
Forbidden non-null assertion
setup-and-test (ubuntu-latest, 16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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. 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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/