Skip to content

ci: added code linting #935

ci: added code linting

ci: added code linting #935

Re-run triggered December 19, 2023 09:46
Status Failure
Total duration 35s
Artifacts

if-nodejs-pr-testing.yml

on: pull_request
Matrix: test-nodejs-pr
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
Test NodeJS PR - ubuntu-latest: index.js#L2
Expected indentation of 2 spaces but found 4
Test NodeJS PR - ubuntu-latest: index.js#L2
Unnecessarily quoted property 'schemas' found
Test NodeJS PR - ubuntu-latest: index.js#L3
Expected indentation of 4 spaces but found 8
Test NodeJS PR - ubuntu-latest: index.js#L4
Expected indentation of 4 spaces but found 8
Test NodeJS PR - ubuntu-latest: index.js#L5
Expected indentation of 4 spaces but found 8
Test NodeJS PR - ubuntu-latest: index.js#L6
Expected indentation of 4 spaces but found 8
Test NodeJS PR - ubuntu-latest: index.js#L7
Expected indentation of 4 spaces but found 8
Test NodeJS PR - ubuntu-latest: index.js#L8
Expected indentation of 4 spaces but found 8
Test NodeJS PR - ubuntu-latest: index.js#L9
Expected indentation of 4 spaces but found 8
Test NodeJS PR - ubuntu-latest: index.js#L10
Expected indentation of 4 spaces but found 8
Test NodeJS PR - macos-latest
The job was canceled because "ubuntu-latest" failed.
Test NodeJS PR - macos-latest
The operation was canceled.
Test NodeJS PR - ubuntu-latest: scripts/validate-schemas.js#L10
Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed