Skip to content

Commit 70fe050

Browse files
committed
chore: fix eslint rule
1 parent 0dcf84f commit 70fe050

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export function first(arr) {
55
}
66

77
export function last(arr) {
8+
// eslint-disable-next-line unicorn/prefer-at
89
return arr.length > 0 ? arr[arr.length - 1] : null;
910
}
1011

0 commit comments

Comments
 (0)