[AAE-7100] migrate ADF projects to eslint (#7483)

* migrate content services to eslint

* migrate insights to eslint

* migrate extensions to eslint

* migrate testing lib to eslint

* migrate CLI to eslint

* migrate process-services to eslint

* migrate process-services-cloud to eslint

* remove cli analytics [ci:force]
This commit is contained in:
Denys Vuika
2022-02-03 11:01:54 +00:00
committed by GitHub
parent b8bb234410
commit 8dc736e8f0
233 changed files with 1496 additions and 725 deletions

View File

@@ -56,6 +56,7 @@ interface DiffOptions {
/**
* Get the remote URL for the cloned git repository
*
* @param workingDir Repository directory
* @returns URL pointing to the git remote
*/
@@ -68,6 +69,7 @@ function getRemote(workingDir: string): string {
/**
* Get the list of commits based on the configuration options
*
* @param options Logging options
* @returns Collection of Commit objects
*/
@@ -78,7 +80,7 @@ function getCommits(options: DiffOptions): Array<Commit> {
.join('\|');
if (!authorFilter) {
authorFilter = "bot\|Alfresco Build User";
authorFilter = `bot\|Alfresco Build User`;
}