Skip to content

Only enable Node lint rules for Node files #12612

Only enable Node lint rules for Node files

Only enable Node lint rules for Node files #12612

Triggered via pull request October 23, 2024 19:08
Status Failure
Total duration 3m 47s
Artifacts

main.yml

on: pull_request
Check workflows
7s
Check workflows
Matrix: Lint, build, and test / Prepare
Matrix: Lint, build, and test / Build
Matrix: Lint, build, and test / Lint
Matrix: Lint, build, and test / Test
Matrix: Lint, build, and test / Validate changelog
All jobs complete
0s
All jobs complete
Determine whether this is a release merge commit
0s
Determine whether this is a release merge commit
All jobs pass
0s
All jobs pass
Publish release  /  publish-release
Publish release / publish-release
Publish release  /  publish-npm-dry-run
Publish release / publish-npm-dry-run
Publish release  /  publish-npm
Publish release / publish-npm
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
Lint, build, and test / Lint (20.x): packages/network-controller/src/NetworkController.ts#L789
Invalid type "any" of template literal expression
Lint, build, and test / Lint (20.x): packages/network-controller/src/NetworkController.ts#L2078
Invalid type "any" of template literal expression
Lint, build, and test / Lint (20.x): packages/network-controller/src/NetworkController.ts#L2111
Invalid type "any" of template literal expression
Lint, build, and test / Lint (20.x): yarn.config.cjs#L8
Unexpected use of 'require'. This global is not available in the Node.js and browser environment
Lint, build, and test / Lint (20.x): yarn.config.cjs#L8
'require' is not defined
Lint, build, and test / Lint (20.x): yarn.config.cjs#L9
Unexpected use of 'require'. This global is not available in the Node.js and browser environment
Lint, build, and test / Lint (20.x): yarn.config.cjs#L9
Do not import Node.js builtin module "fs/promises"
Lint, build, and test / Lint (20.x): yarn.config.cjs#L9
'require' is not defined
Lint, build, and test / Lint (20.x): yarn.config.cjs#L10
Unexpected use of 'require'. This global is not available in the Node.js and browser environment
Lint, build, and test / Lint (20.x): yarn.config.cjs#L10
'require' is not defined
All jobs pass
Process completed with exit code 1.
Check workflows
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/