refactor: refine argument type
[poolifier.git] / .eslintrc.js
index eb288bd1672c348d3cb2d1e9c80794f59105add3..9a058e827c6117531f41d87c8f182b9f87191aba 100644 (file)
@@ -37,6 +37,7 @@ module.exports = defineConfig({
       'warn',
       {
         skipWords: [
+          'axios',
           'benoit',
           'benny',
           'browserslist',
@@ -47,8 +48,10 @@ module.exports = defineConfig({
           'comparator',
           'cpu',
           'cpus',
+          'cryptographically',
           'ctx',
           'deprecations',
+          'deque',
           'dequeue',
           'dequeued',
           'ecma',
@@ -62,19 +65,27 @@ module.exports = defineConfig({
           'fp',
           'fs',
           'inheritDoc',
+          'javascript',
           'jsdoc',
+          'localhost',
           'microjob',
           'mjs',
+          'nodemailer',
+          'npx',
           'num',
           'os',
           'perf',
           'piscina',
           'pnpm',
           'poolifier',
-          'poolify',
+          'prepend',
+          'prepends',
+          'readdir',
           'readonly',
+          'req',
           'resize',
           'sinon',
+          'smtp',
           'threadjs',
           'threadwork',
           'tinypool',
@@ -85,7 +96,10 @@ module.exports = defineConfig({
           'unref',
           'unregister',
           'utf8',
+          'webcrypto',
           'workerpool',
+          'ws',
+          'wss',
           'wwr'
         ],
         skipIfMatch: ['^@.*', '^plugin:.*']
@@ -124,7 +138,9 @@ 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/restrict-template-expressions': 'off'
+        '@typescript-eslint/no-redundant-type-constituents': 'off',
+        '@typescript-eslint/strict-boolean-expressions': 'off',
+        '@typescript-eslint/return-await': 'off'
       }
     },
     {