chore: migrate to eslint 9
[poolifier.git] / src / worker / utils.ts
index d0883893581b0a14c24cb415bef585541b71c446..f324a23524646b2553f2c75d6dc62c5a5be16a4c 100644 (file)
@@ -1,6 +1,6 @@
 import {
   checkValidPriority,
-  checkValidWorkerChoiceStrategy
+  checkValidWorkerChoiceStrategy,
 } from '../pools/utils.js'
 import { isPlainObject } from '../utils.js'
 import type { TaskFunctionObject } from './task-functions.js'
@@ -53,7 +53,6 @@ export const checkValidTaskFunctionObjectEntry = <
   }
   if (typeof fnObj.taskFunction !== 'function') {
     throw new TypeError(
-      // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
       `taskFunction object 'taskFunction' property '${fnObj.taskFunction}' is not a function`
     )
   }