Tags in node_modules/@types/react are reported as invalid
Artur- opened this issue · comments
I have the same issue, tried a lot of stuff:
- Exclude
node_modules
from tsconfig.json (did not work) - Exclude
node_modules
from the VS Code Workspace (did not work).
In this case, the project is not even a project that contains Lit which is strange. It would be nice if:
- The analyzer is only active for Lit-projects
- There was a way to exclude files from the checks.
I ended up trying to disable the plugin for the workspace:
In .vscode/settings.json
{
"lit-plugin.disable": true
}
That did not work, so last resort: