Merge branch 'master' of github.com:poolifier/poolifier
[poolifier.git] / .eslintrc.js
index d640b896f75606df37aff753e6b9cf833f41fb2c..9bf41f268ea143ee9841e6575ac2f6c9223aa8fd 100644 (file)
@@ -63,7 +63,9 @@ module.exports = defineConfig({
           'fp',
           'fs',
           'inheritDoc',
+          'javascript',
           'jsdoc',
+          'localhost',
           'microjob',
           'mjs',
           'npx',
@@ -74,10 +76,12 @@ module.exports = defineConfig({
           'pnpm',
           'poolifier',
           'poolify',
+          'readdir',
           'readonly',
           'req',
           'resize',
           'sinon',
+          'smtp',
           'threadjs',
           'threadwork',
           'tinypool',
@@ -89,6 +93,8 @@ module.exports = defineConfig({
           'unregister',
           'utf8',
           'workerpool',
+          'ws',
+          'wss',
           'wwr'
         ],
         skipIfMatch: ['^@.*', '^plugin:.*']
@@ -120,16 +126,15 @@ module.exports = defineConfig({
     {
       files: ['examples/typescript/**/*.ts'],
       rules: {
-        // 'import/no-unresolved': 'off',
-        // '@typescript-eslint/no-unsafe-argument': 'off',
+        'import/no-unresolved': 'off',
+        '@typescript-eslint/no-unsafe-argument': 'off',
         '@typescript-eslint/no-unsafe-call': 'off',
-        // '@typescript-eslint/no-unsafe-return': 'off',
+        '@typescript-eslint/no-unsafe-return': 'off',
         '@typescript-eslint/no-unsafe-assignment': 'off',
-        '@typescript-eslint/no-unsafe-member-access': 'off'
-        // '@typescript-eslint/no-unnecessary-type-assertion': 'off',
-        // '@typescript-eslint/strict-boolean-expressions': 'off',
-        // '@typescript-eslint/restrict-template-expressions': 'off',
-        // '@typescript-eslint/return-await': 'off'
+        '@typescript-eslint/no-unsafe-member-access': 'off',
+        '@typescript-eslint/no-unnecessary-type-assertion': 'off',
+        '@typescript-eslint/strict-boolean-expressions': 'off',
+        '@typescript-eslint/return-await': 'off'
       }
     },
     {