next.js: show lint warnings and build errors while developing

Viewed 12

When I run npx next dev (or in my config, npm build), it happily builds my code, even if have various lint issues or errors that will cause npx next build to fail.

Is there a way to run next dev with hot reloading and all that, but also have lint issues and errors displayed? Alternatively, if there's a built-in way I could run next lint on all file changes, I could run that in a separate terminal from next dev.

0 Answers
Related