Replace tslint by eslint

This commit is contained in:
Jonas Lochmann
2022-01-17 01:00:00 +01:00
parent b43059f8e2
commit f028b99bbc
24 changed files with 2498 additions and 311 deletions
+2
View File
@@ -69,6 +69,7 @@ function createMailTemplateSender (templateName: string) {
reject(err)
} else {
if (isDevMode) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const data = (info as any).message
console.log(JSON.stringify(JSON.parse(data), null, 2))
@@ -238,6 +239,7 @@ export function sanitizeMailAddress (input: string): string | null {
return null
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const address = (parsed as any).address
if (typeof address !== 'string') {