Add more eslint rules

This commit is contained in:
Vendicated 2022-10-08 20:36:57 +02:00
parent 0109381a4f
commit dea34503ef
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
13 changed files with 33 additions and 21 deletions

View file

@ -26,7 +26,7 @@ export default definePlugin({
],
altify(props: any) {
if (props.alt !== "GIF") return;
if (props.alt !== "GIF") return props.alt;
let url: string = props.original || props.src;
try {