Add eslint and add lint check action #8
main.yml
on: pull_request
Lint and format check
16s
Matrix: tests
Annotations
14 errors and 5 warnings
Tests on lts/hydrogen:
tsconfig.json#L6
Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
Tests on lts/hydrogen
Process completed with exit code 2.
|
Tests on lts/iron:
tsconfig.json#L6
Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
Tests on lts/iron
Process completed with exit code 2.
|
Tests on lts/gallium:
tsconfig.json#L6
Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
Tests on lts/gallium
Process completed with exit code 2.
|
Tests on node:
tsconfig.json#L6
Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.
|
Tests on node
Process completed with exit code 2.
|
Lint and format check:
src/components.ts#L2
'Processor' is defined but never used
|
Lint and format check:
src/components.ts#L16
Unexpected any. Specify a different type
|
Lint and format check:
src/components.ts#L25
Unexpected aliasing of 'this' to local variable
|
Lint and format check:
test.js#L49
'children' is defined but never used
|
Lint and format check:
test.js#L52
'context' is defined but never used
|
Lint and format check
Process completed with exit code 1.
|
Tests on lts/hydrogen
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests on lts/iron
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests on lts/gallium
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests on node
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint and format check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|