Skip to content

Add linting

Add linting #68

Triggered via pull request September 4, 2023 19:22
@gkobergergkoberger
synchronize #26
linting
Status Failure
Total duration 34s
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 (14.x)
The job was canceled because "_18_x" failed.
build (14.x): utils.js#L5
Expected 1 empty line after require statement not followed by another require
build (14.x): utils.js#L5
`@stoplight/spectral-ruleset-bundler/with-loader` import should occur after import of `@stoplight/spectral-parsers`
build (14.x): utils.js#L5
Unable to resolve path to module '@stoplight/spectral-ruleset-bundler/with-loader'
build (14.x): utils.js#L7
'truthy' is assigned a value but never used
build (14.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 (14.x): utils.js#L8
There should be no empty line within import group
build (14.x): utils.js#L8
"@stoplight/spectral-parsers" is extraneous
build (14.x): utils.js#L63
'reject' is defined but never used
build (14.x): utils.js#L78
Strings must use singlequote
build (14.x)
The operation was canceled.
build (16.x)
The job was canceled because "_18_x" failed.
build (16.x)
The operation was canceled.