From 286427869eec6b36013ad5e43590c2a59f51ed88 Mon Sep 17 00:00:00 2001 From: Volodymyr Minchenko Date: Thu, 14 Dec 2023 21:38:57 +0200 Subject: [PATCH] thjs-63: * eslint and tsconfig small fixes --- .eslintrc.yml | 3 ++- shared/tsconfig.json | 8 ++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index af119a41..5be2470e 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -4,7 +4,8 @@ parserOptions: ecmaVersion: 2022 sourceType: module project: - - tsconfig.json + - ./tsconfig.json + - ./shared/tsconfig.json - ./client/jsconfig.json - ./server/tsconfig.json diff --git a/shared/tsconfig.json b/shared/tsconfig.json index a1fd7b93..f4b12160 100644 --- a/shared/tsconfig.json +++ b/shared/tsconfig.json @@ -1,8 +1,5 @@ { - "include": [ - "src/**/*.ts", - "src/libs/packages/config/libs/types/configurable.type.ts" - ], + "include": ["src/**/*.ts"], "exclude": ["node_modules/*"], "compilerOptions": { "allowJs": true, @@ -21,7 +18,6 @@ }, "types": ["node"], "isolatedModules": true, - "strictNullChecks": true, - "noPropertyAccessFromIndexSignature": true + "strictNullChecks": true } }