Fix ESLinting errors and remove TSLint

This commit is contained in:
Dolan Miu
2022-08-31 08:59:27 +01:00
parent 1bdf9a4987
commit ebcb37cbed
30 changed files with 104 additions and 201 deletions

View File

@ -68,7 +68,9 @@ export class Media {
.map((c) => c.charCodeAt(0)),
);
} else {
/* eslint @typescript-eslint/no-require-imports: 0 */
const b = require("buf" + "fer");
/* eslint @typescript-eslint/no-require-imports: 2 */
return new b.Buffer(dataURI, "base64");
}
}