I'm using VSCode for a Javascript project that runs in a browser JS engine; it will never and can't run in Node.js. But Intellisense quite dramatically warns about features in my code that are deprecated in Node.js. Is there a way to tell it, that this is not a node but a browser project to get only relevant warnings?
if you use eslint as linter. You can do it in the .eslintignore file in your root directory.
take a look here: disable the warnings in VS code
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.