Silence some sonar code smells
[e-mobility-charging-stations-simulator.git] / src / worker / WorkerFactory.ts
index 6164848d99018bda55769141e3a3b08114735b8c..8ccd6698bc3bffd2e33e71e3d4270541f6c46694 100644 (file)
@@ -9,7 +9,9 @@ import { isMainThread } from 'worker_threads';
 
 export default class WorkerFactory {
   // eslint-disable-next-line @typescript-eslint/no-empty-function
-  private constructor() {}
+  private constructor() {
+    // This is intentional
+  }
 
   public static getWorkerImplementation<T>(workerScript: string, workerProcessType: WorkerProcessType, options?: WorkerOptions): WorkerAbstract | null {
     if (!isMainThread) {