mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
eslint: Enable comma-dangle for functions.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a79322bc94
commit
e014ea966a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user