sync to work in every directory(vscode)

This commit is contained in:
Ulf Gebhardt 2023-03-12 02:09:47 +01:00
parent 448bc55b7f
commit 18eb7786f7
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -14,6 +14,9 @@ module.exports = {
'plugin:import/typescript',
],
settings: {
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
typescript: true,
node: true,
@ -93,7 +96,7 @@ module.exports = {
'@typescript-eslint/prefer-regexp-exec': 'off',
},
parserOptions: {
tsconfigRootDir: __dirname,
tsconfigRootDir: './',
project: ['./tsconfig.json'],
// this is to properly reference the referenced project database without requirement of compiling it
EXPERIMENTAL_useSourceOfProjectReferenceRedirect: true,