[lint-refactor] simplify tslint and unify main tslint extension in sub folders (#4032)

* simplify tslint and unify main tslint extension  in sub folders

* remove autofix

* fix lint extension and process cloud
This commit is contained in:
Eugenio Romano
2018-11-29 15:04:12 +00:00
committed by GitHub
parent 49738ad555
commit 27b0ba897a
60 changed files with 141 additions and 497 deletions

View File

@@ -56,7 +56,7 @@ export class ApiService {
return this.apiService.bpmClient.callCustomApi(uri, method, pathParams, queryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, {})
.catch(error => {
.catch((error) => {
throw (error);
});
}

View File

@@ -112,7 +112,7 @@ describe('Unshare file', () => {
});
describe('with permission', () => {
afterAll(async done => {
afterAll(async (done) => {
await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, nodeId);
done();
});
@@ -160,7 +160,7 @@ describe('Unshare file', () => {
});
describe('without permission', () => {
afterAll(async done => {
afterAll(async (done) => {
await this.alfrescoJsApi.login(TestConfig.adf.adminEmail, TestConfig.adf.adminPassword);
await this.alfrescoJsApi.core.sitesApi.deleteSite(siteName, { permanent: true });
done();

View File

@@ -102,7 +102,7 @@ export class SearchCheckListPage {
this.clickShowMoreButtonUntilIsNotDisplayed();
}
}, err => {
}, (err) => {
});
return this;
}
@@ -114,7 +114,7 @@ export class SearchCheckListPage {
this.clickShowLessButtonUntilIsNotDisplayed();
}
}, err => {
}, (err) => {
});
return this;
}

View File

@@ -200,7 +200,7 @@ export class TagPage {
this.clickShowMoreButtonUntilNotDisplayed();
}
}, err => {
}, (err) => {
});
}
@@ -211,7 +211,7 @@ export class TagPage {
this.clickShowLessButtonUntilNotDisplayed();
}
}, err => {
}, (err) => {
});
}
}