Skip to content

chore: add guard-for-in eslint rule #2391

chore: add guard-for-in eslint rule

chore: add guard-for-in eslint rule #2391

Triggered via pull request January 6, 2024 01:50
Status Failure
Total duration 6m 49s
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 27s
eslint
Check version consistency of packages
7s
Check version consistency of packages
Check coding style
10s
Check coding style
Matrix: setup-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
eslint: packages/core/src/codecs/netconf-codec.ts#L82
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
eslint: packages/core/src/codecs/octetstream-codec.ts#L538
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
eslint: packages/core/src/consumed-thing.ts#L382
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
eslint: packages/core/src/consumed-thing.ts#L389
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
eslint: packages/core/src/consumed-thing.ts#L393
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
eslint: packages/core/src/consumed-thing.ts#L586
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
eslint: packages/core/src/consumed-thing.ts#L630
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
eslint: packages/core/src/exposed-thing.ts#L462
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
eslint: packages/core/src/exposed-thing.ts#L516
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
eslint: packages/core/src/helpers.ts#L96
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
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/
Tests (ubuntu-latest, Node 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/
Tests (ubuntu-latest, Node 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/
Tests (macos-latest, Node 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/
Tests (macos-latest, Node 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/
Tests (windows-latest, Node 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/
Tests (windows-latest, Node 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/