'plugin:import/recommended',
'plugin:promise/recommended'
],
+ settings: {
+ 'import/resolver': {
+ typescript: {
+ project: './tsconfig.eslint.json'
+ }
+ }
+ },
rules: {
'sort-imports': [
'error',
{
files: ['examples/typescript/**/*.ts'],
rules: {
- 'import/no-unresolved': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off'
import { join } from 'path'
-import { DynamicThreadPool, FixedThreadPool } from 'poolifier'
import type { MyData, MyResponse } from './worker'
+import { DynamicThreadPool, FixedThreadPool } from 'poolifier'
export const fixedPool = new FixedThreadPool<MyData, Promise<MyResponse>>(
8,