eslint: Enable arrow-parens.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-01 16:39:34 -07:00
committed by Tim Abbott
parent d51afcf485
commit b0253c5a2e
96 changed files with 240 additions and 238 deletions

View File

@@ -347,7 +347,7 @@ exports.remove_reaction = function (event) {
return;
}
r.user_ids = r.user_ids.filter(id => id !== user_id);
r.user_ids = r.user_ids.filter((id) => id !== user_id);
if (r.user_ids.length > 0) {
exports.update_user_fields(r);
} else {