Skip to content

Commit 064c946

Browse files
authored
chore: add .vscode/settings.json file (#6967)
This ensures that: - The ESLint config file used by VSCode is always the correct one and that the working directory can always be identified. VSCode could become confused if this project is checked out inside a folder named `node_modules` and start complaining about unpublished files every place we reference a relative file in a `require` call. - The TypeScript version used by VSCode is the same as being used by the project.
1 parent 46c325b commit 064c946

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"eslint.workingDirectories": [
3+
"."
4+
],
5+
"eslint.options": {
6+
"overrideConfigFile": "${workspaceFolder}/eslint.config.mjs"
7+
},
8+
"typescript.tsdk": "node_modules/typescript/lib"
9+
}

0 commit comments

Comments
 (0)