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

@@ -242,7 +242,7 @@ test_ui("send_message", ({override, override_rewire, mock_template}) => {
})();
// This is the additional setup which is common to both the tests below.
override(transmit, "send_message", (payload, success, error) => {
override(transmit, "send_message", (_payload, _success, error) => {
stub_state.send_msg_called += 1;
error("Error sending message: Server says 408");
});