Next.js Discord

Discord Forum

how to make lint throw errors if any module/type is missing in any page/component?

Answered
<Milind ツ /> posted this in #help-forum
Open in Discord
Avatar
When using next lint, it never throws such kind of errors and i have to check each file individually for missing module/types.

On pushing this current code to vercel, it seems vercel has some special eslint on its own that checks everything and throws the first error when deploying. How can i do this locally?
Answered by <Milind ツ />
found the fix. will link the discussion here

https://github.com/vercel/next.js/discussions/31439
View full answer

1 Reply

Avatar
found the fix. will link the discussion here

https://github.com/vercel/next.js/discussions/31439
Answer