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

This commit is contained in:
Tim Abbott
2016-06-09 14:02:49 -07:00
parent 0c1b5006f7
commit c35781d505
15 changed files with 24 additions and 44 deletions

View File

@@ -54,8 +54,7 @@ exports.to_end = function () {
exports.page_up = function () {
if (viewport.at_top() && !current_msg_list.empty()) {
current_msg_list.select_id(current_msg_list.first().id, {then_scroll: false});
}
else {
} else {
ui.page_up_the_right_amount();
}
};
@@ -64,8 +63,7 @@ exports.page_down = function () {
if (viewport.at_bottom() && !current_msg_list.empty()) {
current_msg_list.select_id(current_msg_list.last().id, {then_scroll: false});
unread.mark_current_list_as_read();
}
else {
} else {
ui.page_down_the_right_amount();
}
};