Skip to content

Add linting

Add linting #67

Triggered via pull request September 4, 2023 19:02
Status Failure
Total duration 42s
Artifacts

ci.yaml

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

Annotations

32 errors
build (14.x): index.js#L23
'no-console' rule is disabled but never reported
build (14.x): index.js#L23
'no-console' rule has been disabled already
build (14.x): index.js#L116
'no-console' rule is disabled but never reported
build (14.x): index.js#L116
'no-console' rule has been disabled already
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 (18.x)
The job was canceled because "_14_x" failed.
build (18.x): index.js#L23
'no-console' rule is disabled but never reported
build (18.x): index.js#L23
'no-console' rule has been disabled already
build (18.x): index.js#L116
'no-console' rule is disabled but never reported
build (18.x): index.js#L116
'no-console' rule has been disabled already
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 (16.x)
The job was canceled because "_14_x" failed.
build (16.x): index.js#L23
'no-console' rule is disabled but never reported
build (16.x): index.js#L23
'no-console' rule has been disabled already
build (16.x): index.js#L116
'no-console' rule is disabled but never reported
build (16.x): index.js#L116
'no-console' rule has been disabled already
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