Skip to content

Update linting dependencies (major) #172

Update linting dependencies (major)

Update linting dependencies (major) #172

Triggered via pull request July 31, 2023 22:17
Status Failure
Total duration 35s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: pull_request
lint  /  Resolving inputs
1s
lint / Resolving inputs
Matrix: lint / lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint / Node lts/* on ubuntu-latest: lib/auto-config.js#L14
'value' is defined but never used. Allowed unused args must match /^_/u
lint / Node lts/* on ubuntu-latest: lib/auto-config.js#L14
'maxAge' is defined but never used. Allowed unused args must match /^_/u
lint / Node lts/* on ubuntu-latest: lib/auto-config.js#L32
Prefer await to then()/catch()/finally()
lint / Node lts/* on ubuntu-latest: lib/auto-config.js#L36
Prefer await to then()/catch()/finally()
lint / Node lts/* on ubuntu-latest: lib/auto-config.js#L37
Prefer await to then()/catch()/finally()
lint / Node lts/* on ubuntu-latest: lib/auto-config.js#L51
Prefer await to then()/catch()/finally()
lint / Node lts/* on ubuntu-latest: lib/config.js#L35
Remove unused catch binding `err`
lint / Node lts/* on ubuntu-latest: lib/config.js#L43
Prefer `Array#flat()` over `[].concat()` to flatten an array
lint / Node lts/* on ubuntu-latest: lib/config.js#L65
Expected indentation of 8 spaces but found 6
lint / Node lts/* on ubuntu-latest: lib/config.js#L66
Expected indentation of 8 spaces but found 6
lint / Node lts/* on ubuntu-latest: lib/auto-config.js#L10
Missing trailing comma
lint / Node lts/* on ubuntu-latest: lib/config.js#L5
Unexpected use of process.env
lint / Node lts/* on ubuntu-latest: lib/config.js#L13
Unexpected use of process.env
lint / Node lts/* on ubuntu-latest: lib/config.js#L15
Unexpected use of process.env
lint / Node lts/* on ubuntu-latest: lib/config.js#L15
Missing trailing comma
lint / Node lts/* on ubuntu-latest: lib/config.js#L23
JSDoc @returns declaration present but return expression not available in function
lint / Node lts/* on ubuntu-latest: lib/config.js#L43
Prefer the spread operator over `Array#concat(…)`
lint / Node lts/* on ubuntu-latest: lib/config.js#L53
Missing trailing comma
lint / Node lts/* on ubuntu-latest: lib/config.js#L60
Missing trailing comma
lint / Node lts/* on ubuntu-latest: lib/config.js#L66
Missing trailing comma