dependencies: Upgrade linters and fix linter errors.

The changes here are mostly straightforward; the one exception is
removing a zulipdev.org hack.

We disable some lint rules we'll want to address later (E.g. we want
to switch to using async/await rather than .then()).  But those are
out of scope for this commit.
This commit is contained in:
Tim Abbott
2020-02-29 22:25:24 -08:00
parent 31af6596bf
commit 909e0f07e3
14 changed files with 3090 additions and 1490 deletions

View File

@@ -92,9 +92,7 @@ class NewServerForm extends BaseComponent {
this.submitFormHandler();
});
this.$newServerUrl.addEventListener('keypress', event => {
const EnterkeyCode = event.keyCode;
// Submit form when Enter key is pressed
if (EnterkeyCode === 13) {
if (event.key === 'Enter') {
this.submitFormHandler();
}
});