mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Improved ESLint configuration, integrated spellcheck and error fixes (#8931)
* integrate cspell with eslint, improved configuration * core: fix linting errors * core: fix lint warnings * content: lint fixes * process service lint fixes * lint: process services cloud * lint: insights * lint: extensions * [ci:force] lint: cli fixes * [ci:force] comment out dead code * [ci:force] exclude dead code * fix code and tests * rollback some changes * fix testing lib * fix demo shell * minor lint warning fixes * minor lint fixes * fix process services
This commit is contained in:
@@ -32,7 +32,7 @@ export class ProcessAutomationHealth {
|
||||
const url = `${this.plugInInfo.host}/${this.plugInInfo.appName}/ui/${this.plugInInfo.uiName}/app.config.json`;
|
||||
const appConfig = await this.config.getAppConfig(url);
|
||||
let isEnabled = true;
|
||||
if (appConfig && appConfig.plugins && appConfig.plugins[this.plugInInfo.name]) {
|
||||
if (appConfig?.plugins?.[this.plugInInfo.name]) {
|
||||
logger.info(`The plugin ${this.plugInInfo.name} has been correctly configured in app.config.json`);
|
||||
} else {
|
||||
this.logConfigurationError();
|
||||
|
@@ -32,7 +32,7 @@ export class ProcessServiceHealth {
|
||||
const url = `${this.plugInInfo.host}/app.config.json`;
|
||||
const appConfig = await this.config.getAppConfig(url);
|
||||
let isEnabled = true;
|
||||
if (appConfig && appConfig.plugins && appConfig.plugins[this.plugInInfo.name]) {
|
||||
if (appConfig?.plugins?.[this.plugInInfo.name]) {
|
||||
logger.info(`The plugin ${this.plugInInfo.name} has been correctly configured in app.config.json`);
|
||||
} else {
|
||||
this.logConfigurationError();
|
||||
|
Reference in New Issue
Block a user