From 09a8ba311dd936ba9abeb6c99166be4c56c33c6c Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Tue, 4 Jun 2019 04:25:15 +0200 Subject: [PATCH] test: fix lint warnings --- lib/platform/bitbucket/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/platform/bitbucket/index.ts b/lib/platform/bitbucket/index.ts index c7d2d721b9..afc4851079 100644 --- a/lib/platform/bitbucket/index.ts +++ b/lib/platform/bitbucket/index.ts @@ -395,6 +395,7 @@ export async function ensureIssueClosing(title: string) { } } +// eslint-disable-next-line @typescript-eslint/no-unused-vars export function addAssignees(_prNr: number, _assignees: string[]) { // Bitbucket supports "participants" and "reviewers" so does not seem to have the concept of "assignee" logger.warn('Cannot add assignees'); @@ -420,6 +421,7 @@ export /* istanbul ignore next */ function deleteLabel() { throw new Error('deleteLabel not implemented'); } +/* eslint-disable @typescript-eslint/no-unused-vars */ export function ensureComment( _prNo: number, _topic: string | null, @@ -434,6 +436,7 @@ export function ensureCommentRemoval(_prNo: number, _topic: string) { // The api does not support removing comments return Promise.resolve(); } +/* eslint-enable @typescript-eslint/no-unused-vars */ // istanbul ignore next function matchesState(state: string, desiredState: string) { -- GitLab