eslint: Fix unicorn/prefer-spread.

This was initially disabled for IE/Babel-related reasons that no
longer apply.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-03-01 16:58:25 -08:00
committed by Tim Abbott
parent 941a9bab38
commit 2a70c11c5f
77 changed files with 218 additions and 216 deletions

View File

@@ -23,7 +23,7 @@ const services = new Map();
const services_fields = ["base_url", "interface", "config_data", "service_name", "token"];
export function all_user_ids() {
return Array.from(bots.keys());
return [...bots.keys()];
}
export function add(bot) {