From 101d155fd8dfac756c6ef57955ce3ab340526163 Mon Sep 17 00:00:00 2001 From: Fernando Lucchesi Date: Mon, 31 Oct 2022 10:18:52 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Disable=20eslint=20for=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/{_middleware.ts => middleware.ts} | 1 + 1 file changed, 1 insertion(+) rename web/{_middleware.ts => middleware.ts} (98%) diff --git a/web/_middleware.ts b/web/middleware.ts similarity index 98% rename from web/_middleware.ts rename to web/middleware.ts index ef064f693..363e5116a 100644 --- a/web/_middleware.ts +++ b/web/middleware.ts @@ -1,5 +1,6 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */ import { getRedirectUrl, getDnsRedirect, getExternalRedirectUrl } from './common/helpers/redirects' +// eslint-disable-next-line @next/next/no-server-import-in-page import { NextRequest, NextResponse } from 'next/server' import { getLocaleFromName } from './lib/localization' import { Flags } from './common/helpers/datasetHelpers'