diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/src/mocks/handlers.ts b/src/mocks/handlers.ts index 2c73d9e79..867a01dfb 100644 --- a/src/mocks/handlers.ts +++ b/src/mocks/handlers.ts @@ -289,8 +289,7 @@ export const handlers = [ } ), http.post('/users/preferences', async ({ request }) => { - // Ignoring here as don't have types defined for these endpoints - // @ts-ignore + // @ts-expect-error Ignoring here as don't have types defined for these endpoints preferredColourMap = (await request.json()).value; return HttpResponse.json(preferredColourMap, { status: 200 }); }),