Disable a eslint rule on a line
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 24 Aug 2021 09:48:29 +0000 (11:48 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 24 Aug 2021 09:48:29 +0000 (11:48 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/worker/WorkerFactory.ts

index 093c7cd3c9ecb49e3e38c0c889cc7f6b34443c1d..6164848d99018bda55769141e3a3b08114735b8c 100644 (file)
@@ -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<T>(workerScript: string, workerProcessType: WorkerProcessType, options?: WorkerOptions): WorkerAbstract | null {