Skip to content

Commit cb14cc0

Browse files
committed
fix: resolve no-var-requires ts lint
1 parent c1e7ac2 commit cb14cc0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

middleware.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import createMiddleware from './next.middleware';
44
const nextMiddleware = createMiddleware(NextResponse);
55

66
const { middleware, matcher } = nextMiddleware([
7+
// eslint-disable-next-line @typescript-eslint/no-var-requires
78
require('./middlewares/detectLanguage').default,
89
]);
910

0 commit comments

Comments
 (0)