eslint: Add and enforce space-in-parens lint rule.

This commit is contained in:
Tim Abbott
2017-10-06 12:36:39 -07:00
parent 0c44310009
commit 82b708b721
15 changed files with 28 additions and 27 deletions

View File

@@ -666,7 +666,7 @@ exports.MessageList.prototype = {
var index = self._items.indexOf(current_message);
if (index === -1) {
if ( !self.muting_enabled && current_msg_list === self) {
if (!self.muting_enabled && current_msg_list === self) {
blueslip.error("Trying to re-order message but can't find message with new_id in _items!");
}
return;