lint: Require folding of } on same line in else if statements.

This commit is contained in:
Tim Abbott
2016-06-09 14:05:34 -07:00
parent c35781d505
commit 584887e588
7 changed files with 13 additions and 22 deletions

View File

@@ -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