mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
lint: Require folding of } on same line in else if statements.
This commit is contained in:
@@ -62,8 +62,7 @@ function message_matches_search_term(message, operator, operand) {
|
||||
case 'in':
|
||||
if (operand === 'home') {
|
||||
return message_in_home(message);
|
||||
}
|
||||
else if (operand === 'all') {
|
||||
} else if (operand === 'all') {
|
||||
return true;
|
||||
}
|
||||
return true; // in:whatever returns true
|
||||
|
||||
Reference in New Issue
Block a user