eslint: Expand no-unused-vars check to all function parameters.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-06-29 12:59:08 -07:00
committed by Tim Abbott
parent 95f8ab1626
commit 407c16fc77
42 changed files with 64 additions and 58 deletions

View File

@@ -1621,7 +1621,7 @@ export class MessageListView {
show_messages_as_unread(message_ids) {
const $table = rows.get_table(this.table_name);
const $rows_to_show_as_unread = $table.find(".message_row").filter((index, $row) => {
const $rows_to_show_as_unread = $table.find(".message_row").filter((_index, $row) => {
const message_id = Number.parseFloat($row.getAttribute("zid"));
return message_ids.includes(message_id);
});