From: Jérôme Benoit Date: Tue, 24 Aug 2021 09:48:29 +0000 (+0200) Subject: Disable a eslint rule on a line X-Git-Tag: v1.0.43~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3356aa8419d035c06fb9050a4f515a9c54147c30;p=e-mobility-charging-stations-simulator.git Disable a eslint rule on a line Signed-off-by: Jérôme Benoit --- 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 {