mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +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
@@ -362,7 +362,7 @@ Filter.prototype = {
|
||||
page_params.narrow_stream !== undefined &&
|
||||
value.operator === "stream" &&
|
||||
value.operand.toLowerCase() === page_params.narrow_stream.toLowerCase()
|
||||
)
|
||||
),
|
||||
);
|
||||
return safe_to_return;
|
||||
},
|
||||
@@ -376,13 +376,13 @@ Filter.prototype = {
|
||||
|
||||
has_negated_operand: function (operator, operand) {
|
||||
return this._operators.some(
|
||||
(elem) => elem.negated && (elem.operator === operator && elem.operand === operand)
|
||||
(elem) => elem.negated && (elem.operator === operator && elem.operand === operand),
|
||||
);
|
||||
},
|
||||
|
||||
has_operand: function (operator, operand) {
|
||||
return this._operators.some(
|
||||
(elem) => !elem.negated && (elem.operator === operator && elem.operand === operand)
|
||||
(elem) => !elem.negated && (elem.operator === operator && elem.operand === operand),
|
||||
);
|
||||
},
|
||||
|
||||
@@ -750,7 +750,7 @@ Filter.prototype = {
|
||||
term.operand = people.update_email_in_reply_to(
|
||||
term.operand,
|
||||
user_id,
|
||||
new_email
|
||||
new_email,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user