You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…2139)
People have been reporting on #30973 that the `no-server-import-in-page` eslint rule is reporting false positives for `_middleware` files inside sub-page folders.
Unlike `_document`, we can have multiple `_middleware` files.
Fixes#32121
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 27, 2022
natew
pushed a commit
to natew/next.js
that referenced
this issue
Feb 16, 2022
…rcel#32139)
People have been reporting on vercel#30973 that the `no-server-import-in-page` eslint rule is reporting false positives for `_middleware` files inside sub-page folders.
Unlike `_document`, we can have multiple `_middleware` files.
Fixesvercel#32121
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
LintingRelated to `next lint` or ESLint with Next.js.
What version of Next.js are you using?
12.0.6
What version of Node.js are you using?
14.18.2
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
Vercel
Describe the Bug
I have added _middleware.tsx file in /pages/login/_middleware.tsx and it gives error.
Expected Behavior
It should not give any error
To Reproduce
My files
_middleware.tsx
Folder structure
The text was updated successfully, but these errors were encountered: