Fix no-server-import-in-page eslint rule for subfolder middleware (#32139)
People have been reporting on https://github.com/vercel/next.js/pull/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
Showing
Please
register
or
sign in
to comment