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