From 3356aa8419d035c06fb9050a4f515a9c54147c30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 24 Aug 2021 11:48:29 +0200 Subject: [PATCH] Disable a eslint rule on a line MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/worker/WorkerFactory.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/worker/WorkerFactory.ts b/src/worker/WorkerFactory.ts index 093c7cd3..6164848d 100644 --- a/src/worker/WorkerFactory.ts +++ b/src/worker/WorkerFactory.ts @@ -8,6 +8,7 @@ import WorkerStaticPool from './WorkerStaticPool'; import { isMainThread } from 'worker_threads'; export default class WorkerFactory { + // eslint-disable-next-line @typescript-eslint/no-empty-function private constructor() {} public static getWorkerImplementation(workerScript: string, workerProcessType: WorkerProcessType, options?: WorkerOptions): WorkerAbstract | null { -- 2.34.1