Always show node_modules inside test in VS Code (#40956)
As per #40926 we commit all node_modules inside test so we can test external packages. It will be much more convenient to not hide them in VS Code. With this configuration, all node_modules folders will be excluded except for these under the test directory. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
This commit is contained in:
parent
833a67ff8c
commit
bb42d40fb7
1 changed files with 6 additions and 1 deletions
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
|
@ -5,5 +5,10 @@
|
|||
{ "language": "typescript", "autoFix": true },
|
||||
{ "language": "typescriptreact", "autoFix": true }
|
||||
],
|
||||
"debug.javascript.unmapMissingSources": true
|
||||
"debug.javascript.unmapMissingSources": true,
|
||||
"files.exclude": {
|
||||
"**/node_modules": false,
|
||||
"node_modules": true,
|
||||
"*[!test]**/node_modules": true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue