diff --git a/backend/.eslintrc.js b/backend/.eslintrc.js index 4c8bb8707..9021fcc30 100644 --- a/backend/.eslintrc.js +++ b/backend/.eslintrc.js @@ -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, },