Use new eslint package- fix lint issues in ts and js

This commit is contained in:
Jorik Schellekens
2020-06-23 17:01:19 +01:00
parent de227c0650
commit 7699aafcaf
31 changed files with 387 additions and 347 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ export function mdSerialize(model: EditorModel) {
return html + part.text;
case "room-pill":
case "user-pill":
return html + `[${part.text.replace(/[[\\\]]/g, c => "\\" + c)}](${makeGenericPermalink(part.resourceId)})`;
return html +
`[${part.text.replace(/[[\\\]]/g, c => "\\" + c)}](${makeGenericPermalink(part.resourceId)})`;
}
}, "");
}