feat: add axios to http-client TS code example
[poolifier.git] / .eslintrc.js
index e160b189d2394e46a51c9572026d1fd0aa14a1ef..c5784c0f286cac8f39b921950a6ae437e2a88e8e 100644 (file)
@@ -37,7 +37,7 @@ module.exports = defineConfig({
       'warn',
       {
         skipWords: [
-          'Benoit',
+          'benoit',
           'benny',
           'browserslist',
           'builtins',
@@ -72,7 +72,6 @@ module.exports = defineConfig({
           'poolify',
           'readonly',
           'resize',
-          'serializable',
           'sinon',
           'threadjs',
           'threadwork',
@@ -81,6 +80,7 @@ module.exports = defineConfig({
           'tsdoc',
           'typedoc',
           'unlink',
+          'unref',
           'unregister',
           'utf8',
           'workerpool',
@@ -99,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',
@@ -116,9 +115,13 @@ module.exports = defineConfig({
     {
       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'
+        '@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'
       }
     },
     {