Rework how the linting is done
This commit is contained in:
parent
51091d6d59
commit
96911a8d95
30 changed files with 111 additions and 108 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue