chore: upgrade eslint to v9.10.0 #191
Open
Annotations
11 errors and 2 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()'
|
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