Rework how the linting is done

This commit is contained in:
Taevas 2025-02-16 17:05:02 +01:00
parent 51091d6d59
commit 96911a8d95
30 changed files with 111 additions and 108 deletions

View file

@ -7,12 +7,10 @@ const handler: Handler = async () => {
headers: {
"PRIVATE-TOKEN": process.env.API_GITLAB!,
"Content-Type": "application/json",
// eslint-disable-next-line @typescript-eslint/naming-convention
"Accept": "application/json",
},
});
// eslint-disable-next-line @typescript-eslint/naming-convention
const {created_at} = (await gitlab.json() as Record<string, any>)[0];
if (typeof created_at !== "string") {
return {