Skip to content

Commit 572f6b7

Browse files
authored
chore: fix error in .vscode/settings.json (#6977)
The `overrideConfigFile` setting doesn't support template strings, so VSCode was trying to look for a directory litterally named `${workspaceFolder}` and failed. This commit removes the setting entirely since it wasn't really needed as VSCode would default to look for `eslint.config.mjs` (amongst other variants) in the root directory eventually (traversing the directory structure up). The important fix in the commit where this config option was added was `workingDirectories`, which we keep.
1 parent 693f054 commit 572f6b7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.vscode/settings.json

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

0 commit comments

Comments
 (0)