Override eslint config for vscode workspace (#4566)

This commit is contained in:
Oscar Hinton 2023-01-26 14:26:21 +01:00 committed by GitHub
parent 989114f174
commit d02af23b30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -7,7 +7,7 @@
"plugins": ["@typescript-eslint", "rxjs", "rxjs-angular", "import"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["**/tsconfig.eslint.json"],
"project": ["./tsconfig.eslint.json"],
"sourceType": "module"
},
"extends": [

View File

@ -30,6 +30,13 @@
}
],
"settings": {
"eslint.options": {
"overrideConfig": {
"parserOptions": {
"project": ["${workspaceFolder}/tsconfig.eslint.json"]
}
}
},
"debug.javascript.terminalOptions": {
"sourceMapPathOverrides": {
"webpack:///./~/*": "${workspaceFolder:root}/node_modules/*",