mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
Fix ExtensionsModule.forChild regression (#9844)
This commit is contained in:
parent
af552bfbb9
commit
328d233b05
@ -5,6 +5,10 @@
|
|||||||
{
|
{
|
||||||
"files": ["*.ts"],
|
"files": ["*.ts"],
|
||||||
"extends": ["plugin:@nrwl/nx/angular"],
|
"extends": ["plugin:@nrwl/nx/angular"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/cli/tsconfig.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"prefer-arrow/prefer-arrow-functions": "off",
|
"prefer-arrow/prefer-arrow-functions": "off",
|
||||||
"@typescript-eslint/no-var-requires": "off",
|
"@typescript-eslint/no-var-requires": "off",
|
||||||
@ -36,6 +40,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"files": ["*.html"],
|
"files": ["*.html"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/cli/tsconfig.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"extends": ["plugin:@nrwl/nx/angular-template"],
|
"extends": ["plugin:@nrwl/nx/angular-template"],
|
||||||
"rules": {}
|
"rules": {}
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
{
|
{
|
||||||
"files": ["*.ts"],
|
"files": ["*.ts"],
|
||||||
"extends": ["plugin:@nrwl/nx/angular"],
|
"extends": ["plugin:@nrwl/nx/angular"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/content-services/tsconfig.lib.json", "lib/content-services/tsconfig.spec.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"jsdoc/newline-after-description": "warn",
|
"jsdoc/newline-after-description": "warn",
|
||||||
"@typescript-eslint/naming-convention": "warn",
|
"@typescript-eslint/naming-convention": "warn",
|
||||||
@ -72,6 +76,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"files": ["*.html"],
|
"files": ["*.html"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/content-services/tsconfig.lib.json", "lib/content-services/tsconfig.spec.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"extends": ["plugin:@nrwl/nx/angular-template"],
|
"extends": ["plugin:@nrwl/nx/angular-template"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"@angular-eslint/template/no-autofocus": "error",
|
"@angular-eslint/template/no-autofocus": "error",
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
{
|
{
|
||||||
"files": ["*.ts"],
|
"files": ["*.ts"],
|
||||||
"extends": ["plugin:@nrwl/nx/angular"],
|
"extends": ["plugin:@nrwl/nx/angular"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/core/tsconfig.lib.json", "lib/core/tsconfig.spec.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"jsdoc/newline-after-description": "warn",
|
"jsdoc/newline-after-description": "warn",
|
||||||
"@typescript-eslint/naming-convention": "off",
|
"@typescript-eslint/naming-convention": "off",
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
{
|
{
|
||||||
"files": ["*.ts"],
|
"files": ["*.ts"],
|
||||||
"extends": ["plugin:@nrwl/nx/angular"],
|
"extends": ["plugin:@nrwl/nx/angular"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/extensions/tsconfig.lib.json", "lib/extensions/tsconfig.spec.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
|
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
|
||||||
|
|
||||||
|
@ -44,4 +44,14 @@ export class ExtensionsModule {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated use `ExtensionsModule` instead, `EXTENSION_DIRECTIVES` or direct standalone components
|
||||||
|
* @returns Module with providers
|
||||||
|
*/
|
||||||
|
static forChild(): ModuleWithProviders<ExtensionsModule> {
|
||||||
|
return {
|
||||||
|
ngModule: ExtensionsModule
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,10 @@
|
|||||||
"extends": [
|
"extends": [
|
||||||
"plugin:@nrwl/nx/angular"
|
"plugin:@nrwl/nx/angular"
|
||||||
],
|
],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/process-services-cloud/tsconfig.lib.json", "lib/process-services-cloud/tsconfig.spec.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"jsdoc/newline-after-description": "warn",
|
"jsdoc/newline-after-description": "warn",
|
||||||
"@typescript-eslint/naming-convention": "warn",
|
"@typescript-eslint/naming-convention": "warn",
|
||||||
@ -75,6 +79,10 @@
|
|||||||
{
|
{
|
||||||
"files": ["*.html"],
|
"files": ["*.html"],
|
||||||
"extends": ["plugin:@nrwl/nx/angular-template"],
|
"extends": ["plugin:@nrwl/nx/angular-template"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/process-services-cloud/tsconfig.lib.json", "lib/process-services-cloud/tsconfig.spec.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"@angular-eslint/template/no-autofocus": "error",
|
"@angular-eslint/template/no-autofocus": "error",
|
||||||
"@angular-eslint/template/no-positive-tabindex": "error"
|
"@angular-eslint/template/no-positive-tabindex": "error"
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
{
|
{
|
||||||
"files": ["*.ts"],
|
"files": ["*.ts"],
|
||||||
"extends": ["plugin:@nrwl/nx/angular"],
|
"extends": ["plugin:@nrwl/nx/angular"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/process-services/tsconfig.lib.json", "lib/process-services/tsconfig.spec.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"jsdoc/newline-after-description": "warn",
|
"jsdoc/newline-after-description": "warn",
|
||||||
"@typescript-eslint/naming-convention": "warn",
|
"@typescript-eslint/naming-convention": "warn",
|
||||||
@ -72,6 +76,10 @@
|
|||||||
{
|
{
|
||||||
"files": ["*.html"],
|
"files": ["*.html"],
|
||||||
"extends": ["plugin:@nrwl/nx/angular-template"],
|
"extends": ["plugin:@nrwl/nx/angular-template"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/process-services/tsconfig.lib.json", "lib/process-services/tsconfig.spec.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"@angular-eslint/template/no-autofocus": "error",
|
"@angular-eslint/template/no-autofocus": "error",
|
||||||
"@angular-eslint/template/no-positive-tabindex": "error"
|
"@angular-eslint/template/no-positive-tabindex": "error"
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
{
|
{
|
||||||
"files": ["*.ts"],
|
"files": ["*.ts"],
|
||||||
"extends": ["plugin:@nrwl/nx/angular"],
|
"extends": ["plugin:@nrwl/nx/angular"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/testing/tsconfig.lib.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"@angular-eslint/component-selector": [
|
"@angular-eslint/component-selector": [
|
||||||
"error",
|
"error",
|
||||||
@ -59,6 +63,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"files": ["*.html"],
|
"files": ["*.html"],
|
||||||
|
"parserOptions": {
|
||||||
|
"project": ["lib/testing/tsconfig.lib.json"],
|
||||||
|
"createDefaultProgram": true
|
||||||
|
},
|
||||||
"extends": ["plugin:@nrwl/nx/angular-template"],
|
"extends": ["plugin:@nrwl/nx/angular-template"],
|
||||||
"rules": {}
|
"rules": {}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user