refactor: factor out task stolen statistics handling
[poolifier.git] / .eslintrc.js
index e2fc35b2c1264d4c08e5af3de0a3cc3fb36d924b..40f952b098ffe8c6fa993f7272c2b60060fc88fd 100644 (file)
@@ -20,7 +20,7 @@ module.exports = defineConfig({
   settings: {
     'import/resolver': {
       typescript: {
-        project: './tsconfig.eslint.json'
+        project: './tsconfig.json'
       }
     }
   },
@@ -48,8 +48,10 @@ module.exports = defineConfig({
           'comparator',
           'cpu',
           'cpus',
+          'cryptographically',
           'ctx',
           'deprecations',
+          'deque',
           'dequeue',
           'dequeued',
           'ecma',
@@ -68,6 +70,7 @@ module.exports = defineConfig({
           'localhost',
           'microjob',
           'mjs',
+          'nodemailer',
           'npx',
           'num',
           'os',
@@ -75,12 +78,14 @@ module.exports = defineConfig({
           'piscina',
           'pnpm',
           'poolifier',
-          'poolify',
+          'prepend',
+          'prepends',
           'readdir',
           'readonly',
           'req',
           'resize',
           'sinon',
+          'smtp',
           'threadjs',
           'threadwork',
           'tinypool',
@@ -91,6 +96,7 @@ module.exports = defineConfig({
           'unref',
           'unregister',
           'utf8',
+          'webcrypto',
           'workerpool',
           'ws',
           'wss',
@@ -106,7 +112,7 @@ module.exports = defineConfig({
       plugins: ['@typescript-eslint', 'eslint-plugin-tsdoc'],
       parser: '@typescript-eslint/parser',
       parserOptions: {
-        project: './tsconfig.eslint.json'
+        project: './tsconfig.json'
       },
       extends: [
         'plugin:@typescript-eslint/recommended',
@@ -132,6 +138,7 @@ module.exports = defineConfig({
         '@typescript-eslint/no-unsafe-assignment': 'off',
         '@typescript-eslint/no-unsafe-member-access': 'off',
         '@typescript-eslint/no-unnecessary-type-assertion': 'off',
+        '@typescript-eslint/no-redundant-type-constituents': 'off',
         '@typescript-eslint/strict-boolean-expressions': 'off',
         '@typescript-eslint/return-await': 'off'
       }