refactor: disable naming-convenction rule (#51685)

This commit is contained in:
Muhammed Mustafa
2023-09-30 16:23:39 +03:00
committed by GitHub
parent bbe1f46d6e
commit 49b728d31b
19 changed files with 4 additions and 79 deletions

View File

@@ -14,7 +14,6 @@ type Options = {
sendCSRFToken: boolean;
};
/* eslint-disable @typescript-eslint/naming-convention */
const requests = {
GET: (resource: string) => request(fastifyTestInstance?.server).get(resource),
POST: (resource: string) =>
@@ -23,7 +22,6 @@ const requests = {
DELETE: (resource: string) =>
request(fastifyTestInstance?.server).delete(resource)
};
/* eslint-enable @typescript-eslint/naming-convention */
export const getCsrfToken = (setCookies: string[]): string | undefined => {
const csrfSetCookie = setCookies.find(str => str.includes('csrf_token'));