chore: run lint (#2411)

* chore: run lint

* chore: fix lint
This commit is contained in:
Erb3
2024-09-28 03:28:13 +02:00
committed by GitHub
parent 9708685506
commit e81a4ade97
14 changed files with 109 additions and 111 deletions

View File

@@ -116,7 +116,7 @@ export const configuredXss = new FilterXSS({
)
}
return safeAttrValue(tag, name, url.toString(), cssFilter)
} catch (err) {
} catch {
/* empty */
}
}
@@ -153,7 +153,7 @@ export const md = (options = {}) => {
if (allowedHostnames.includes(url.hostname)) {
return defaultLinkOpenRenderer(tokens, idx, options, env, self)
}
} catch (err) {
} catch {
/* empty */
}
}