'Is it possible to exclude folders from the problems tab in VS code

I have a problem with a file that causes the problems tab to EXPLODE with warnings, and the reason is that I only use that file inside of another "main" file, which means that instead of creating a variable in every single one of the files that I use, I only create it in the "main" one, but VScode has no idea about that, so it trashes my problems tab with errors of missing variables.

So I just thought if it was possible to exclude the folder with problematic files from the problems tab or if there is any other way to avoid the warning diarrhea.

And although I did see somewhere unrelated to this that it is possible to use .json files or something to control VScode, I know nothing about it



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source