refactor: more worker function -> task function renaming
[poolifier.git] / .eslintrc.js
index d7004cc55ff8460161f54f766086dd78d7612eb8..b547ed1909badd738d831ccf1b70af4fe1001af0 100644 (file)
@@ -37,12 +37,13 @@ module.exports = defineConfig({
       'warn',
       {
         skipWords: [
-          'Benoit',
+          'benoit',
           'benny',
           'browserslist',
           'builtins',
           'christopher',
           'cjs',
+          'cloneable',
           'comparator',
           'cpu',
           'cpus',
@@ -51,6 +52,7 @@ module.exports = defineConfig({
           'dequeue',
           'dequeued',
           'ecma',
+          'elu',
           'enqueue',
           'enum',
           'errored',
@@ -63,20 +65,22 @@ module.exports = defineConfig({
           'mjs',
           'num',
           'os',
+          'perf',
           'piscina',
           'pnpm',
           'poolifier',
           'poolify',
           'readonly',
           'resize',
-          'serializable',
           'sinon',
           'threadjs',
           'threadwork',
+          'tinypool',
           'tsconfig',
           'tsdoc',
           'typedoc',
           'unlink',
+          'unref',
           'unregister',
           'utf8',
           'workerpool',
@@ -95,7 +99,6 @@ module.exports = defineConfig({
         project: './tsconfig.eslint.json'
       },
       extends: [
-        'plugin:@typescript-eslint/eslint-recommended',
         'plugin:@typescript-eslint/recommended',
         'plugin:@typescript-eslint/recommended-requiring-type-checking',
         'plugin:import/typescript',
@@ -135,7 +138,7 @@ module.exports = defineConfig({
       }
     },
     {
-      files: ['benchmarks/**/*.js'],
+      files: ['benchmarks/**/*.js', 'benchmarks/**/*.mjs'],
       rules: {
         'jsdoc/require-jsdoc': 'off'
       }
@@ -146,6 +149,13 @@ module.exports = defineConfig({
         'n/no-missing-require': 'off'
       }
     },
+    {
+      files: ['benchmarks/versus-external-pools/**/*.mjs'],
+      rules: {
+        'n/no-missing-import': 'off',
+        'import/no-unresolved': 'off'
+      }
+    },
     {
       files: ['examples/**/*.js'],
       rules: {