bb42d40fb7
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)
14 lines
344 B
JSON
14 lines
344 B
JSON
{
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
{ "language": "typescript", "autoFix": true },
|
|
{ "language": "typescriptreact", "autoFix": true }
|
|
],
|
|
"debug.javascript.unmapMissingSources": true,
|
|
"files.exclude": {
|
|
"**/node_modules": false,
|
|
"node_modules": true,
|
|
"*[!test]**/node_modules": true
|
|
}
|
|
}
|