Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 074a599

Browse files
committed
chore: ignore an arg from lint
1 parent f7dbd92 commit 074a599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/pagination.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function getIntervallers(max, interval) {
1818
? Math.floor(max / interval)
1919
: Math.floor(max / interval) + 1;
2020
const arr = [...new Array(count)];
21-
return arr.map((v, index) => {
21+
return arr.map((_, index) => {
2222
const start = index * interval;
2323
const end = (index + 1) * interval - 1;
2424
return [start, end > max ? max : end];

0 commit comments

Comments
 (0)