From dfc3b03081e420be01df94c2d7c631571ad6aefe Mon Sep 17 00:00:00 2001 From: Rainer Hahnekamp Date: Mon, 21 Aug 2023 17:49:31 +0200 Subject: [PATCH] add tsconfig.json and remove nx eslinting rules --- .eslintrc.json | 18 ------------------ apps/flights/tsconfig.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 18 deletions(-) create mode 100644 apps/flights/tsconfig.json diff --git a/.eslintrc.json b/.eslintrc.json index 89ad19bd..e4807331 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -37,24 +37,6 @@ { "files": ["*.ts"], "extends": ["plugin:@softarc/sheriff/default"] - }, - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": { - "@nx/enforce-module-boundaries": [ - "error", - { - "enforceBuildableLibDependency": true, - "allow": [], - "depConstraints": [ - { - "sourceTag": "*", - "onlyDependOnLibsWithTags": ["*"] - } - ] - } - ] - } } ], "plugins": ["@nx"] diff --git a/apps/flights/tsconfig.json b/apps/flights/tsconfig.json new file mode 100644 index 00000000..3a912ece --- /dev/null +++ b/apps/flights/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "target": "es2022", + "useDefineForClassFields": false, + "forceConsistentCasingInFileNames": true, + "strict": true, + "noImplicitOverride": true, + "noPropertyAccessFromIndexSignature": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true + }, + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.app.json" + }, + { + "path": "./tsconfig.spec.json" + } + ], + "extends": "../../tsconfig.base.json", + "angularCompilerOptions": { + "enableI18nLegacyMessageIdFormat": false, + "strictInjectionParameters": true, + "strictInputAccessModifiers": true, + "strictTemplates": true + } +}