Updated eslint

This commit is contained in:
2024-08-20 22:27:46 +02:00
parent 0b92214d2d
commit 79a879f60f
23 changed files with 266 additions and 227 deletions

View File

@@ -30,6 +30,7 @@ async function getUUID(ign: string): Promise<string | null> {
try {
const req: Profile = await fetch(mojang + ign)
return req.data.id
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (err) {
return null
}
@@ -39,6 +40,7 @@ async function getIGN(uuid: string): Promise<string | null> {
try {
const req: Profile2 = await fetch(mojanguuid + uuid)
return req.data.name
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (err) {
return null
}