chore: upgrade eslint to v9.10.0 #87
Annotations
32 errors and 7 warnings
Node 22 on ubuntu-latest:
lib/layer.js#L21
Use `undefined` instead of `null`
|
Node 22 on ubuntu-latest:
lib/layer.js#L107
Prefer `String#replaceAll()` over `String#replace()`
|
Node 22 on ubuntu-latest:
lib/layer.js#L110
Use the rest parameters instead of 'arguments'
|
Node 22 on ubuntu-latest:
lib/layer.js#L111
Prefer `.at(…)` over `[….length - index]`
|
Node 22 on ubuntu-latest:
lib/layer.js#L112
Prefer `.at(…)` over `[….length - index]`
|
Node 22 on ubuntu-latest:
lib/layer.js#L181
Unexpected function expression
|
Node 22 on ubuntu-latest:
lib/layer.js#L188
Array.prototype.some() expects a value to be returned at the end of arrow function
|
Node 22 on ubuntu-latest:
lib/layer.js#L236
Prefer `String#replaceAll()` over `String#replace()`
|
Node 22 on ubuntu-latest:
lib/router.js#L129
Unnecessary '.apply()'
|
Node 22 on ubuntu-latest:
lib/router.js#L231
Use the spread operator instead of '.apply()'
|
Node 20 on ubuntu-latest
The job was canceled because "ubuntu-latest_22" failed.
|
Node 20 on ubuntu-latest:
lib/layer.js#L21
Use `undefined` instead of `null`
|
Node 20 on ubuntu-latest:
lib/layer.js#L107
Prefer `String#replaceAll()` over `String#replace()`
|
Node 20 on ubuntu-latest:
lib/layer.js#L110
Use the rest parameters instead of 'arguments'
|
Node 20 on ubuntu-latest:
lib/layer.js#L111
Prefer `.at(…)` over `[….length - index]`
|
Node 20 on ubuntu-latest:
lib/layer.js#L112
Prefer `.at(…)` over `[….length - index]`
|
Node 20 on ubuntu-latest:
lib/layer.js#L181
Unexpected function expression
|
Node 20 on ubuntu-latest:
lib/layer.js#L188
Array.prototype.some() expects a value to be returned at the end of arrow function
|
Node 20 on ubuntu-latest:
lib/layer.js#L236
Prefer `String#replaceAll()` over `String#replace()`
|
Node 20 on ubuntu-latest:
lib/router.js#L129
Unnecessary '.apply()'
|
Node 20 on ubuntu-latest:
lib/router.js#L231
Use the spread operator instead of '.apply()'
|
Node 18 on ubuntu-latest
The job was canceled because "ubuntu-latest_22" failed.
|
Node 18 on ubuntu-latest:
lib/layer.js#L21
Use `undefined` instead of `null`
|
Node 18 on ubuntu-latest:
lib/layer.js#L107
Prefer `String#replaceAll()` over `String#replace()`
|
Node 18 on ubuntu-latest:
lib/layer.js#L110
Use the rest parameters instead of 'arguments'
|
Node 18 on ubuntu-latest:
lib/layer.js#L111
Prefer `.at(…)` over `[….length - index]`
|
Node 18 on ubuntu-latest:
lib/layer.js#L112
Prefer `.at(…)` over `[….length - index]`
|
Node 18 on ubuntu-latest:
lib/layer.js#L181
Unexpected function expression
|
Node 18 on ubuntu-latest:
lib/layer.js#L188
Array.prototype.some() expects a value to be returned at the end of arrow function
|
Node 18 on ubuntu-latest:
lib/layer.js#L236
Prefer `String#replaceAll()` over `String#replace()`
|
Node 18 on ubuntu-latest:
lib/router.js#L129
Unnecessary '.apply()'
|
Node 18 on ubuntu-latest:
lib/router.js#L231
Use the spread operator instead of '.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:
lib/layer.js#L234
Unexpected 'todo' comment: 'TODO: take a look on...'
|
Node 22 on ubuntu-latest:
test/lib/layer.js#L150
Too many nested callbacks (5). Maximum allowed is 4
|
Node 20 on ubuntu-latest:
lib/layer.js#L234
Unexpected 'todo' comment: 'TODO: take a look on...'
|
Node 20 on ubuntu-latest:
test/lib/layer.js#L150
Too many nested callbacks (5). Maximum allowed is 4
|
Node 18 on ubuntu-latest:
lib/layer.js#L234
Unexpected 'todo' comment: 'TODO: take a look on...'
|
Node 18 on ubuntu-latest:
test/lib/layer.js#L150
Too many nested callbacks (5). Maximum allowed is 4
|