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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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