Fix the linting errors

This commit is contained in:
David Baker
2019-12-10 18:10:15 +00:00
parent a13c0e0be5
commit 14a919cf9b
3 changed files with 23 additions and 16 deletions

View File

@@ -17,3 +17,9 @@ module.exports = {
// don't use babel, so remove it & put the original back
delete module.exports.rules["babel/no-invalid-this"];
module.exports.rules["no-invalid-this"] = "error";
// also override the line length to be consistent with
// vector-web / react-sdk rather than js-sdk
module.exports.rules["max-len"] = ["warn", {
code: 120,
}];