eslint: Enable comma-dangle for functions.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-01 17:16:03 -07:00
committed by Tim Abbott
parent a79322bc94
commit e014ea966a
97 changed files with 319 additions and 317 deletions

View File

@@ -318,7 +318,7 @@ exports.get_non_default_stream_names = function () {
let subs = Array.from(stream_info.values());
subs = subs.filter(
(sub) =>
!exports.is_default_stream_id(sub.stream_id) && (sub.subscribed || !sub.invite_only)
!exports.is_default_stream_id(sub.stream_id) && (sub.subscribed || !sub.invite_only),
);
const names = subs.map((sub) => sub.name);
return names;