From 8d8900c463be95c09d90dfb2c60ce19c882757f3 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 6 Apr 2023 13:39:04 +0200 Subject: [PATCH] fix eslint.rc --- backend/.eslintrc.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, },