fix eslint.rc

This commit is contained in:
Ulf Gebhardt 2023-04-06 13:39:04 +02:00
parent 1a0edb08c5
commit 8d8900c463
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -19,7 +19,7 @@ module.exports = {
},
'import/resolver': {
typescript: {
project: ['**/tsconfig.json'],
project: ['./tsconfig.json', '**/tsconfig.json'],
},
node: true,
},
@ -162,8 +162,8 @@ module.exports = {
'import/unambiguous': 'off',
},
parserOptions: {
tsconfigRootDir: './',
project: ['**/tsconfig.json'],
tsconfigRootDir: __dirname,
project: ['./tsconfig.json', '**/tsconfig.json'],
// this is to properly reference the referenced project database without requirement of compiling it
EXPERIMENTAL_useSourceOfProjectReferenceRedirect: true,
},