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

@@ -291,7 +291,7 @@ test("handlers", ({override, mock_template}) => {
let narrowed;
override(narrow, "by", (method, email) => {
override(narrow, "by", (_method, email) => {
assert.equal(email, "alice@zulip.com");
narrowed = true;
});
@@ -482,7 +482,7 @@ test("insert_one_user_into_empty_list", ({override, mock_template}) => {
});
test("insert_alice_then_fred", ({override, mock_template}) => {
mock_template("presence_row.hbs", true, (data, html) => html);
mock_template("presence_row.hbs", true, (_data, html) => html);
let appended_html;
override(buddy_list.$container, "append", (html) => {
@@ -500,7 +500,7 @@ test("insert_alice_then_fred", ({override, mock_template}) => {
});
test("insert_fred_then_alice_then_rename", ({override, mock_template}) => {
mock_template("presence_row.hbs", true, (data, html) => html);
mock_template("presence_row.hbs", true, (_data, html) => html);
let appended_html;
override(buddy_list.$container, "append", (html) => {