RED-3800: update tsconfigs
This commit is contained in:
parent
979453abae
commit
3eae8df438
@ -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",
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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"]
|
||||||
}
|
}
|
||||||
|
|||||||
2
nx.json
2
nx.json
@ -5,7 +5,7 @@
|
|||||||
"dependencies": "*",
|
"dependencies": "*",
|
||||||
"devDependencies": "*"
|
"devDependencies": "*"
|
||||||
},
|
},
|
||||||
"tsconfig.base.json": "*",
|
"tsconfig.json": "*",
|
||||||
"tslint.json": "*",
|
"tslint.json": "*",
|
||||||
"nx.json": "*"
|
"nx.json": "*"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -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": ".",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user