Project Structure

📁 my-react-app/
📁 src/ ✓ Included
📄 App.tsx
📄 index.tsx
📁 node_modules/ ✗ Excluded
📁 dist/ ✗ Excluded
📁 build/ ✗ Excluded
📄 package.json

nodejs-provider-settings.json

1 {
2 "name": "nodejs",
3 "binaryPath": "/usr/local/bin/typescript-language-server",
4 "address": "127.0.0.1:0",
5 "initConfig": [
6 {
7 "location": "/path/to/your/react/project",
8 "providerSpecificConfig": {
9 "includedPaths": [ Analyze These
10 "src/"
11 ],
12 "excludedPaths": [ Skip These
13 "node_modules/",
14 "dist/",
15 "build/"
16 ],
17 "dependencyProviderPath": "/path/to/generic-external-provider"
18 }
19 }
20 ]
21 }