eslint: Add key-spacing linter rule.

Apparently, we didn't have one of these, and thus had a moderate
number of generally very old violations in the codebase.  Fix this and
clear the ones that exist..
This commit is contained in:
Tim Abbott
2018-12-18 10:34:45 -08:00
parent 392175d6e8
commit bdb3da4504
45 changed files with 152 additions and 145 deletions

View File

@@ -170,11 +170,11 @@ exports.maybe_scroll_up_selected_message = function () {
function fill_in_opts_from_current_narrowed_view(msg_type, opts) {
var default_opts = {
message_type: msg_type,
stream: '',
topic: '',
message_type: msg_type,
stream: '',
topic: '',
private_message_recipient: '',
trigger: 'unknown',
trigger: 'unknown',
};
// Set default parameters based on the current narrowed view.