RED-3800: update tsconfigs

This commit is contained in:
Dan Percic 2022-07-12 23:46:43 +03:00
parent 979453abae
commit 3eae8df438
8 changed files with 20 additions and 20 deletions

View File

@ -47,7 +47,7 @@
"plugin:prettier/recommended"
],
"parserOptions": {
"project": "./tsconfig.base.json"
"project": "./tsconfig.json"
},
"rules": {
"@angular-eslint/no-conflicting-lifecycle": "error",
@ -93,19 +93,19 @@
"selector": "memberLike",
"modifiers": ["private"],
"format": ["camelCase"],
"leadingUnderscore": "allow"
"leadingUnderscore": "require"
},
{
"selector": "memberLike",
"modifiers": ["protected"],
"format": ["camelCase"],
"leadingUnderscore": "allow"
"leadingUnderscore": "require"
},
{
"selector": "memberLike",
"modifiers": ["private", "readonly"],
"format": ["UPPER_CASE", "camelCase"],
"leadingUnderscore": "allow"
"leadingUnderscore": "require"
}
],
"@typescript-eslint/no-empty-function": "off",

View File

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"allowSyntheticDefaultImports": true

View File

@ -28,7 +28,7 @@ COPY yarn.lock yarn.lock
COPY angular.json angular.json
COPY nx.json nx.json
COPY .eslintrc.json .eslintrc.json
COPY tsconfig.base.json tsconfig.base.json
COPY tsconfig.json tsconfig.json
COPY versions.sh version.sh
COPY paligo-styles paligo-styles
COPY sonar.js sonar.js

View File

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"declaration": true,
@ -11,5 +11,5 @@
"strictMetadataEmit": true,
"enableResourceInlining": true
},
"include": ["**/*.ts"]
"include": ["src/**/*.ts"]
}

View File

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"declaration": true,
@ -10,5 +10,5 @@
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
},
"include": ["**/*.ts"]
"include": ["src/**/*.ts"]
}

View File

@ -5,7 +5,7 @@
"dependencies": "*",
"devDependencies": "*"
},
"tsconfig.base.json": "*",
"tsconfig.json": "*",
"tslint.json": "*",
"nx.json": "*"
},

View File

@ -1,11 +1,11 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "../dist/out-tsc/tools",
"rootDir": ".",
"module": "commonjs",
"target": "es5",
"types": ["node"]
},
"include": ["**/*.ts"]
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../dist/out-tsc/tools",
"rootDir": ".",
"module": "commonjs",
"target": "es5",
"types": ["node"]
},
"include": ["**/*.ts"]
}