refactor: remove outdated unused tslint artifacts

This commit is contained in:
Rainer Killinger
2022-11-21 10:50:24 +01:00
parent 69fd8ff701
commit 3695f9fbb0
4 changed files with 0 additions and 9 deletions

View File

@@ -533,7 +533,6 @@ export class Api {
Logger.warn(`GitLab was not responding. Waiting ${seconds}s and retrying...`); Logger.warn(`GitLab was not responding. Waiting ${seconds}s and retrying...`);
// tslint:disable-next-line:no-magic-numbers
await sleep(seconds * 1000); await sleep(seconds * 1000);
continue; continue;
@@ -567,7 +566,6 @@ export class Api {
*/ */
public async protectBranch(projectId: number, branch: string): Promise<Branch> { public async protectBranch(projectId: number, branch: string): Promise<Branch> {
return this.makeGitLabAPIRequest( return this.makeGitLabAPIRequest(
/* tslint:disable-next-line:max-line-length */
`projects/${projectId}/repository/branches/${branch}/protect?developers_can_push=false&developers_can_merge=false`, `projects/${projectId}/repository/branches/${branch}/protect?developers_can_push=false&developers_can_merge=false`,
{ {
method: 'PUT', method: 'PUT',

View File

@@ -81,7 +81,6 @@ commander.command('batch-process <projectId> <action>').action(async (projectId,
tries: 10, tries: 10,
}); });
} }
// tslint:disable-next-line:no-console
Logger.info(`Processed issue #${issue.iid} of project '${projectId}': ${issue.title}`); Logger.info(`Processed issue #${issue.iid} of project '${projectId}': ${issue.title}`);
}); });
@@ -110,7 +109,6 @@ commander
let index = 0; let index = 0;
// tslint:disable-next-line:no-magic-numbers
await asyncPool(2, issues, async issue => { await asyncPool(2, issues, async issue => {
// get notes of old issue // get notes of old issue
const notes = await api.getNotes(projectId, issue); const notes = await api.getNotes(projectId, issue);

View File

@@ -13,8 +13,6 @@
* this program. If not, see <https://www.gnu.org/licenses/>. * this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
// tslint:disable:completed-docs
/** /**
* Scope of membership * Scope of membership
*/ */

View File

@@ -1,3 +0,0 @@
{
"extends": "./node_modules/@openstapps/configuration/tslint.json"
}