Skip to content

Add linting

Add linting #69

Triggered via pull request September 4, 2023 19:26
@gkobergergkoberger
synchronize #26
linting
Status Failure
Total duration 35s
Artifacts

ci.yaml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

23 errors
build (18.x): utils.js#L5
Expected 1 empty line after require statement not followed by another require
build (18.x): utils.js#L5
`@stoplight/spectral-ruleset-bundler/with-loader` import should occur after import of `@stoplight/spectral-parsers`
build (18.x): utils.js#L5
Unable to resolve path to module '@stoplight/spectral-ruleset-bundler/with-loader'
build (18.x): utils.js#L7
'truthy' is assigned a value but never used
build (18.x): utils.js#L8
'@stoplight/spectral-parsers' should be listed in the project's dependencies. Run 'npm i -S @stoplight/spectral-parsers' to add it
build (18.x): utils.js#L8
There should be no empty line within import group
build (18.x): utils.js#L8
"@stoplight/spectral-parsers" is extraneous
build (18.x): utils.js#L63
'reject' is defined but never used
build (18.x): utils.js#L78
Strings must use singlequote
build (18.x)
Process completed with exit code 1.
build (16.x)
The job was canceled because "_18_x" failed.
build (16.x): utils.js#L5
Expected 1 empty line after require statement not followed by another require
build (16.x): utils.js#L5
`@stoplight/spectral-ruleset-bundler/with-loader` import should occur after import of `@stoplight/spectral-parsers`
build (16.x): utils.js#L5
Unable to resolve path to module '@stoplight/spectral-ruleset-bundler/with-loader'
build (16.x): utils.js#L7
'truthy' is assigned a value but never used
build (16.x): utils.js#L8
'@stoplight/spectral-parsers' should be listed in the project's dependencies. Run 'npm i -S @stoplight/spectral-parsers' to add it
build (16.x): utils.js#L8
There should be no empty line within import group
build (16.x): utils.js#L8
"@stoplight/spectral-parsers" is extraneous
build (16.x): utils.js#L63
'reject' is defined but never used
build (16.x): utils.js#L78
Strings must use singlequote
build (16.x)
Process completed with exit code 1.
build (14.x)
The job was canceled because "_18_x" failed.
build (14.x)
The operation was canceled.