Skip to content

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

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

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

Triggered via pull request September 8, 2023 10:15
Status Failure
Total duration 3m 17s
Artifacts

ci.yaml

on: pull_request
eslint
2m 2s
eslint
Check version consistency of packages
7s
Check version consistency of packages
Check coding style
14s
Check coding style
Matrix: setup-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
eslint: packages/td-tools/src/td-parser.ts#L161
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/td-parser.ts#L179
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/td-parser.ts#L197
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/td-parser.ts#L225
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/td-parser.ts#L232
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/td-parser.ts#L236
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/td-parser.ts#L238
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/td-parser.ts#L254
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/td-parser.ts#L256
Unexpected any value in conditional. An explicit comparison or type cast is required
eslint: packages/td-tools/src/td-parser.ts#L268
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/
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, 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/
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, 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, 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/