Skip to content

chore: upgrade eslint to v9.10.0 #75

chore: upgrade eslint to v9.10.0

chore: upgrade eslint to v9.10.0 #75

Triggered via pull request September 14, 2024 22:33
Status Failure
Total duration 42s
Artifacts

ci.yml

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

Annotations

32 errors and 4 warnings
Node 22 on ubuntu-latest: lib/layer.js#L3
'stringify' is assigned a value but never used
Node 22 on ubuntu-latest: lib/layer.js#L22
Use `undefined` instead of `null`
Node 22 on ubuntu-latest: lib/layer.js#L120
Prefer `String#replaceAll()` over `String#replace()`
Node 22 on ubuntu-latest: lib/layer.js#L123
Use the rest parameters instead of 'arguments'
Node 22 on ubuntu-latest: lib/layer.js#L124
Prefer `.at(…)` over `[….length - index]`
Node 22 on ubuntu-latest: lib/layer.js#L125
Prefer `.at(…)` over `[….length - index]`
Node 22 on ubuntu-latest: lib/layer.js#L199
Unexpected function expression
Node 22 on ubuntu-latest: lib/layer.js#L206
Array.prototype.some() expects a value to be returned at the end of arrow function
Node 22 on ubuntu-latest: lib/layer.js#L258
Prefer `String#replaceAll()` over `String#replace()`
Node 22 on ubuntu-latest: lib/router.js#L129
Unnecessary '.apply()'
Node 18 on ubuntu-latest
The job was canceled because "ubuntu-latest_22" failed.
Node 18 on ubuntu-latest: lib/layer.js#L3
'stringify' is assigned a value but never used
Node 18 on ubuntu-latest: lib/layer.js#L22
Use `undefined` instead of `null`
Node 18 on ubuntu-latest: lib/layer.js#L120
Prefer `String#replaceAll()` over `String#replace()`
Node 18 on ubuntu-latest: lib/layer.js#L123
Use the rest parameters instead of 'arguments'
Node 18 on ubuntu-latest: lib/layer.js#L124
Prefer `.at(…)` over `[….length - index]`
Node 18 on ubuntu-latest: lib/layer.js#L125
Prefer `.at(…)` over `[….length - index]`
Node 18 on ubuntu-latest: lib/layer.js#L199
Unexpected function expression
Node 18 on ubuntu-latest: lib/layer.js#L206
Array.prototype.some() expects a value to be returned at the end of arrow function
Node 18 on ubuntu-latest: lib/layer.js#L258
Prefer `String#replaceAll()` over `String#replace()`
Node 18 on ubuntu-latest: lib/router.js#L129
Unnecessary '.apply()'
Node 20 on ubuntu-latest
The job was canceled because "ubuntu-latest_22" failed.
Node 20 on ubuntu-latest: lib/layer.js#L3
'stringify' is assigned a value but never used
Node 20 on ubuntu-latest: lib/layer.js#L22
Use `undefined` instead of `null`
Node 20 on ubuntu-latest: lib/layer.js#L120
Prefer `String#replaceAll()` over `String#replace()`
Node 20 on ubuntu-latest: lib/layer.js#L123
Use the rest parameters instead of 'arguments'
Node 20 on ubuntu-latest: lib/layer.js#L124
Prefer `.at(…)` over `[….length - index]`
Node 20 on ubuntu-latest: lib/layer.js#L125
Prefer `.at(…)` over `[….length - index]`
Node 20 on ubuntu-latest: lib/layer.js#L199
Unexpected function expression
Node 20 on ubuntu-latest: lib/layer.js#L206
Array.prototype.some() expects a value to be returned at the end of arrow function
Node 20 on ubuntu-latest: lib/layer.js#L258
Prefer `String#replaceAll()` over `String#replace()`
Node 20 on ubuntu-latest: lib/router.js#L129
Unnecessary '.apply()'
Node 22 on ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node 22 on ubuntu-latest: test/lib/layer.js#L150
Too many nested callbacks (5). Maximum allowed is 4
Node 18 on ubuntu-latest: test/lib/layer.js#L150
Too many nested callbacks (5). Maximum allowed is 4
Node 20 on ubuntu-latest: test/lib/layer.js#L150
Too many nested callbacks (5). Maximum allowed is 4