简体   繁体   中英

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

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM