How to detect all Typescript and ESLint errors in NextJS project, not just in opened files?

Viewed 361

I am working on a NextJS project and I want to see the errors and warnings from all the project, not just from opened files.

How can I do this ?

1 Answers

I'm assuming your using vscode. There is an experimental feature which is described in this answer which can enable project wide checks:

"typescript.tsserver.experimental.enableProjectDiagnostics": true
Related