mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-27 11:22:25 +00:00
refactor: remove outdated unused tslint artifacts
This commit is contained in:
@@ -533,7 +533,6 @@ export class Api {
|
||||
|
||||
Logger.warn(`GitLab was not responding. Waiting ${seconds}s and retrying...`);
|
||||
|
||||
// tslint:disable-next-line:no-magic-numbers
|
||||
await sleep(seconds * 1000);
|
||||
|
||||
continue;
|
||||
@@ -567,7 +566,6 @@ export class Api {
|
||||
*/
|
||||
public async protectBranch(projectId: number, branch: string): Promise<Branch> {
|
||||
return this.makeGitLabAPIRequest(
|
||||
/* tslint:disable-next-line:max-line-length */
|
||||
`projects/${projectId}/repository/branches/${branch}/protect?developers_can_push=false&developers_can_merge=false`,
|
||||
{
|
||||
method: 'PUT',
|
||||
|
||||
@@ -81,7 +81,6 @@ commander.command('batch-process <projectId> <action>').action(async (projectId,
|
||||
tries: 10,
|
||||
});
|
||||
}
|
||||
// tslint:disable-next-line:no-console
|
||||
Logger.info(`Processed issue #${issue.iid} of project '${projectId}': ${issue.title}`);
|
||||
});
|
||||
|
||||
@@ -110,7 +109,6 @@ commander
|
||||
|
||||
let index = 0;
|
||||
|
||||
// tslint:disable-next-line:no-magic-numbers
|
||||
await asyncPool(2, issues, async issue => {
|
||||
// get notes of old issue
|
||||
const notes = await api.getNotes(projectId, issue);
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// tslint:disable:completed-docs
|
||||
|
||||
/**
|
||||
* Scope of membership
|
||||
*/
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"extends": "./node_modules/@openstapps/configuration/tslint.json"
|
||||
}
|
||||
Reference in New Issue
Block a user