From 2e91200136c2f7cc4ead2ecb588a1ac62adf2b01 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 16 Aug 2019 18:13:42 +0100 Subject: [PATCH] lint also WE FIXED SOME WARNINGS! Go us. --- package.json | 2 +- src/client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index aa82c9c51..bf560137f 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build": "babel -s -d lib src && rimraf dist && mkdir dist && browserify -d browser-index.js | exorcist dist/browser-matrix.js.map > dist/browser-matrix.js && terser -c -m -o dist/browser-matrix.min.js --source-map \"content='dist/browser-matrix.js.map'\" dist/browser-matrix.js", "dist": "yarn build", "watch": "watchify -d browser-index.js -o 'exorcist dist/browser-matrix.js.map > dist/browser-matrix.js' -v", - "lint": "eslint --max-warnings 101 src spec", + "lint": "eslint --max-warnings 93 src spec", "prepare": "yarn clean && yarn build && git rev-parse HEAD > git-revision.txt" }, "repository": { diff --git a/src/client.js b/src/client.js index c4db24658..7dd219f80 100644 --- a/src/client.js +++ b/src/client.js @@ -3303,7 +3303,7 @@ MatrixClient.prototype.requestRegisterMsisdnToken = function(phoneCountry, phone * The doesServerRequireIdServerParam() method can be used to determine if * the server requires the id_server parameter to be provided. * If an account with the given email address already exists and is - * associated with an account other than the one the user is authed as, + * associated with an account other than the one the user is authed as, * it will either send an email to the address informing them of this * or return M_THREEPID_IN_USE (which one is up to the Home Server). *