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:
@@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AlfrescoApi, NodesApi, UploadApi } from '@alfresco/js-api';
|
||||
import { AlfrescoApi /*, NodesApi, UploadApi*/ } from '@alfresco/js-api';
|
||||
import { argv, exit } from 'node:process';
|
||||
import { Buffer } from 'node:buffer';
|
||||
// import { Buffer } from 'node:buffer';
|
||||
const program = require('commander');
|
||||
import { logger } from './logger';
|
||||
const MAX_RETRY = 3;
|
||||
@@ -71,7 +71,8 @@ async function checkEnv() {
|
||||
}
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
// TODO: https://alfresco.atlassian.net/browse/ACS-5873
|
||||
/*
|
||||
async function checkDiskSpaceFullEnv() {
|
||||
logger.info(`Start Check disk full space`);
|
||||
|
||||
@@ -108,6 +109,7 @@ async function checkDiskSpaceFullEnv() {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
function sleep(delay: number) {
|
||||
const start = new Date().getTime();
|
||||
|
Reference in New Issue
Block a user